Dariusz Kuc
04/11/2024, 8:33 PM-parameters
config on the enum classes. Applying @NestedConfigurationProperty
on corresponding enum vals does not appear to work (it works fine for regular classes). It used to work (or at least did not fail during aot compilation) in older versions and started to fail in 3.1.3 (guessing from the fix in https://github.com/spring-projects/spring-boot/issues/37022). Moving enum classes to top level does fix the problem... but kind of messes up the configuration classes namespacing. Seems kind of odd that this just doesn't work for enums