Skip to content
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

Excluder rejects field when version exceeds or is equal to version in @Until #1007

Closed
sotodel opened this issue Jan 31, 2017 · 1 comment · Fixed by #2214
Closed

Excluder rejects field when version exceeds or is equal to version in @Until #1007

sotodel opened this issue Jan 31, 2017 · 1 comment · Fixed by #2214
Labels

Comments

@sotodel
Copy link

sotodel commented Jan 31, 2017

Based on this Stack Overflow question.

@Until is specified as

Basically, if Gson is created with a version number that exceeds the value stored in the Until annotation then the field will be ignored from the JSON output.

However, the Excluder that implements this logic rejects if a field if the version number exceeds or is equal to the version in @Until.

@oriov
Copy link

oriov commented Feb 8, 2018

It happened to me as well...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants