-
Hi, I am currently converting an existing Application to use Quarkus. When I build the application I get the erorr 'Configuration methods cannot accept parameters' from io.smallrye.config.ConfigurationMappingInterface. The methods it is complaining about are when the configuration class either a) has a method which accepts parameters, Is it possible to override this check? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, because we generate the implementation of such methods, and we wouldn't know what to do with the method parameters. You can add default methods to your mapping classes and add parameters or return any type you want. Can you please post an example of your mappings? |
Beta Was this translation helpful? Give feedback.
No, because we generate the implementation of such methods, and we wouldn't know what to do with the method parameters.
You can add default methods to your mapping classes and add parameters or return any type you want.
Can you please post an example of your mappings?