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

Default fields to be on responses #27

Open
juniorgarcia opened this issue Nov 19, 2018 · 1 comment
Open

Default fields to be on responses #27

juniorgarcia opened this issue Nov 19, 2018 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@juniorgarcia
Copy link

It would be nice to somehow register the default fields that should be on response for each resource.
This would avoid repetitive includes and decrease the payload.

@juniorgarcia juniorgarcia changed the title Default response fields Default fields to be on responses Nov 19, 2018
@ErvalhouS ErvalhouS added enhancement New feature or request good first issue Good for newcomers labels Nov 19, 2018
@ErvalhouS
Copy link
Contributor

This should be viable if there was some kind of variable or method call in the model which identifies those "default serialization" columns/methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants