joukevandermaas / saule

JSON API library for ASP.Net Web API 2.
https://joukevandermaas.github.io/saule
MIT License
76 stars 37 forks source link

Allow attributes on class #204

Closed dejarp closed 6 years ago

dejarp commented 6 years ago

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 commented 6 years ago

Makes sense! thanks!