When i'm trying to use @ConfigurationProperties with Lombok @Setter annotation it doesn't inject values.
@ConfigurationProperties("foo.bar") and add String field "myparam". Add @Getter and @Setter annotation. foo.bar.myparam: test-string-configProperty "myparam" should has value "test-string-config"
Property "myparam" is null
https://github.com/denbilyk/micronaut-configurationproperties-lombok
Can you try again defining the Lombok dependency before the Micronaut https://github.com/denbilyk/micronaut-configurationproperties-lombok/blob/develop/pom.xml#L174-L183?
Can you try again defining the Lombok dependency _before_ the Micronaut https://github.com/denbilyk/micronaut-configurationproperties-lombok/blob/develop/pom.xml#L174-L183?
Yes, that's works.
Will it be fixed or is it right behavior?
Thanks.
That's the correct behavior. Micronaut annotation processor must run after any other annotation processor: https://docs.micronaut.io/latest/guide/index.html#_using_project_lombok