rsinger86 / drf-flex-fields

Dynamically set fields and expand nested resources in Django REST Framework serializers.
MIT License
740 stars 61 forks source link

Dummy filter backend for docs #100

Closed Rjevski closed 2 years ago

Rjevski commented 2 years ago

This PR implements the idea described in https://github.com/rsinger86/drf-flex-fields/issues/98 and provides a FlexFieldsDocsFilterBackend that only populates the schema and otherwise does no filtering.

Based off https://github.com/rsinger86/drf-flex-fields/pull/99, so only merge if that one is merged, alternatively let me know and I can rework the PR and base it off master.

michaelschem commented 2 years ago

I had the same thought, this should be merged.

rsinger86 commented 2 years ago

thanks!