You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to 2.2.26, record classes with fields annotated with JsonProperty with a value different to the naming of the field are unable to render component annotations, will throw a NoSuchMethodException exception, and log an error for this class.
Fix
Accessing the method object using propDef.getPrimaryMember().getName()) should prevent this. PR available here: #4795
Problem
After upgrading to 2.2.26, record classes with fields annotated with JsonProperty with a value different to the naming of the field are unable to render component annotations, will throw a NoSuchMethodException exception, and log an error for this class.
Fix
Accessing the method object using
propDef.getPrimaryMember().getName())
should prevent this. PR available here: #4795Example
Before
After
The text was updated successfully, but these errors were encountered: