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

Gson path defaults #27

Closed
LachlanMcKee opened this issue May 25, 2016 · 1 comment
Closed

Gson path defaults #27

LachlanMcKee opened this issue May 25, 2016 · 1 comment
Assignees
Milestone

Comments

@LachlanMcKee
Copy link
Owner

At the moment there are quite a few properties that you can configure on a AutoGsonAdapter annotation.

The current defaults seem fairly reasonable for most cases, however people will always have different requirements and the defaults may be wrong.

As a consequence, a user would have to constantly copy and paste their desired defaults to each individual AutoGsonAdapter annotation.

The proposed solution is to create a GsonPathDefaults annotation which a user could specify their desired defaults in a single location which they can then use as a single source of truth.

The benefits of this is that there would be less code to write, and all the defaults would exist in a central location.

@LachlanMcKee LachlanMcKee added this to the 1.4.0 milestone May 25, 2016
@LachlanMcKee LachlanMcKee self-assigned this May 25, 2016
@LachlanMcKee
Copy link
Owner Author

This feature has been implemented.

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

No branches or pull requests

1 participant