Fix parsing for injected command types

This commit is contained in:
Jesse Boyd
2019-11-11 08:55:53 +00:00
parent 10a6619853
commit 9d6f2df908
7 changed files with 39 additions and 10 deletions

View File

@ -116,6 +116,7 @@ public class FactoryConverter<T> implements ArgumentConverter<T> {
}
parserContext.setSession(session);
parserContext.setRestricted(true);
parserContext.setInjected(context);
if (contextTweaker != null) {
contextTweaker.accept(parserContext);