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 long search I figured out that the automatic method generation seems to be have problems with case sensitivity. I guess that starting a field with a capital letter generates a method by default by fails to match the according annotations due to mismatch of spelling.
Starting the field with a lower letter @JsonIgnore works as expected.
The text was updated successfully, but these errors were encountered:
There's no @JsonIgnore in Lombok and there's nothing Lombok-related in your code. No idea, what method name would Lombok choose for your Field2BeIgnored, but you can bet, you'd get problems with most tools which rely on naming conventions, when you're violating them.
Although this was quickly refused, I wonder if this isn't much similar with #1981. I think the issue is quite similar but property little bit different. Anyway is there a chance this gets fixed as well?
I have a field annoted as:
After long search I figured out that the automatic method generation seems to be have problems with case sensitivity. I guess that starting a field with a capital letter generates a method by default by fails to match the according annotations due to mismatch of spelling.
Starting the field with a lower letter
@JsonIgnore
works as expected.The text was updated successfully, but these errors were encountered: