-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-1858: Fix Regression in JsonDeserializer
Resolves #1858 Do not add mapping class packages if trusted packages is already all (`*`). **cherry-pick to 2.7.x**
- Loading branch information
1 parent
23f0404
commit acc7fcf
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acc7fcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@garyrussell Wouldn't it be cleaner to have something like this ?
Because otherwise there is now a function called addTrustedPackages() which looks innocent but actually lies under the hood by not really adding in some cases
acc7fcf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's functionally the same, but feel free to submit a pull request if you feel strongly about it.