Replies: 1 comment
-
Closing the discussion. Issue was with the emailClassification type "Classification" which was an enum coming from another library. Since was not able to mark it as Serdabale it was failing. Post changing it to a String it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to add a properties file and map its values to class using ConfiugrationProperties annotation.
However its not mapping the List of objects.
Sample file
Sample config file
While trying to read the value using NotificationsConfig object, the "test" field value is correctly mapped as "hello"however the "notificationsList" is coming as null.
Is there anything missed out here.
Beta Was this translation helpful? Give feedback.
All reactions