-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional fields do not respect the Include.NON_NULL property [2.9.4] #60
Comments
Without actual unit test it's hard to say (printing out values is a bad way to demonstrate anything) for sure, but it seems to me like it is working as expected: Instead, you should probably use |
I wrote it as a main since the behaviour is simple and can be easily verified but here is a test.
Regardless I suspect that this is a philosophical argument so feel free to close. |
Definition of |
The below output is
{bar:null}
. The expected output is{}
.The text was updated successfully, but these errors were encountered: