-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
ExclusionStrategy backward compatibility break #843
Comments
are you serializing to json or xml? |
To JSON |
It's nice feature (if it's not a bug), but due to backward compatibility break it can cause problems I solve problem by adding this code to shouldSkipProperty
|
I'm not sure is a bug/bc break what you are reporting. as you can see 1.9.1...1.9.2 have almost no changes (especially if you are dealing with json |
Sorry, I just checked, the last version I had used have been 1.9.0, not 1.9.1. |
1.9.0...1.9.2 is not much different anyway |
Ok. It's related to some other library. It is a coincidence, but last package update caused problem i thought it is related to Serializer. I'm sorry for the trouble |
👍 |
Steps required to reproduce the problem
In v.1.9.0 ExclusionStrategy::shouldSkipProperty skips only main properties , in 1.9.1 it skips properties of embed object too. It's a bug or backward compatibility break (shouldn't be due to Semantic Versioning)
Example config
Expected Result (version v1.9.0)
Actual Result (version v1.9.1 and 1.9.2)
The text was updated successfully, but these errors were encountered: