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
Before 2.8 the following worked for years. Now this annotation is not applied and enum is serialized as string. It would work if annotating the field. I am not sure if this is an expected change or not, could you please check?
@panchenko Good question. If this did work until 2.7 (which I think is what you are saying), I think it should still work. Things do get bit complicated with 2.8 and later due to all the levels at which configuration works (esp. regarding new "config overrides", see `ObjectMapper.configOverrides()).
But I think annotation-based per-type overrides have their place so I hope this can be fixed.
Yes, there was a subtle bug in there which lead to class annotation's effects be (accidentally) overwritten by default config overrides. Thank you for reporting this; fix will be in 2.8.8.
Before 2.8 the following worked for years. Now this annotation is not applied and enum is serialized as string. It would work if annotating the field. I am not sure if this is an expected change or not, could you please check?
The text was updated successfully, but these errors were encountered: