✨ Add access to parameter annotations in the parameter injector
This commit is contained in:
parent
92f8661b59
commit
9550dce5e6
7 changed files with 147 additions and 6 deletions
|
|
@ -92,7 +92,7 @@ class MethodCommandExecutionHandler<C> implements CommandExecutionHandler<C> {
|
|||
final Optional<?> value = this.injectorRegistry.getInjectable(
|
||||
parameter.getType(),
|
||||
commandContext,
|
||||
this.annotationAccessor
|
||||
AnnotationAccessor.of(AnnotationAccessor.of(parameter), this.annotationAccessor)
|
||||
);
|
||||
if (value.isPresent()) {
|
||||
arguments.add(value.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue