dabapps / django-rest-framework-serialization-spec

DEPRECATED, see https://github.com/dabapps/django-readers instead
MIT License
11 stars 0 forks source link

Allow relations to be aliased in the output #40

Closed pmg103 closed 4 years ago

pmg103 commented 4 years ago

Allow both filtered and non-filtered sub-specs to specify an alias so that the key in the output is not obliged to match the name of the relation

Addresses https://github.com/dabapps/django-rest-framework-serialization-spec/issues/36