I’m trying to configure parameter resolver in order to inject spring bean service in command handler as Allard mentioned here :
You may have to register the ParameterResolver with the configurer as a component:
MultiParameterResolverFactory.ordered(ClasspathParameterResolverFactory.forClass(getClass()), new ConfigurationParameterResolverFactory(config),
/* add your own here */)
But I don’t understand how to do it with Spring boot , I have tried (already sent in picture)
But I get the method registerComponent(Class, Function<Configuration,? extends C>) in the type Configurer is not applicable for the arguments (Class, MultiParameterResolverFactory).
I will be very glad if someone can help me to resolve this issue.