ruby-grape / grape-entity

An API focused facade that sits on top of an object model.
MIT License
721 stars 153 forks source link

Introduce override option for expose #297

Closed DmitryTsepelev closed 6 years ago

DmitryTsepelev commented 6 years ago

Per discussion here https://github.com/ruby-grape/grape-entity/issues/296. Please note that I've removed all other conditions, so even conditional or nesting exposure can be overwritten (should I throw an error or something when people configure their exposures in strange ways?)

LeFnord commented 6 years ago

Thanks for you work @DmitryTsepelev