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

Allow attributes on class #204

Conversation

dejarp
Copy link
Contributor

@dejarp dejarp commented Oct 2, 2018

I'd like to be able to specify DisableDefaultIncludedAttribute, AllowsQueryAttribute, and PaginatedAttribute at the class (ApiController) level so that all endpoints in a controller and any derived controllers share these settings. This is especially important for DisableDefaultIncludedAttribute, because accidentally including all related resources can have unknown performance implications.

@joukevandermaas
Copy link
Owner

Makes sense! thanks!

@joukevandermaas joukevandermaas merged commit c292921 into joukevandermaas:master Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants