vintasoftware / drf-rw-serializers

Generic views, viewsets and mixins that extend the Django REST Framework ones adding separated serializers for read and write operations
MIT License
177 stars 28 forks source link

Refactor strategy to handle `RecursionError` between `get_serializer_class`, `get_read_serializer`, and `get_write_serializer` #87

Closed pamella closed 3 months ago

pamella commented 3 months ago

Description: Describe in a couple of sentence what this PR adds

Refactor strategy to handle RecursionError between get_serializer_class, get_read_serializer, and get_write_serializer

Relates to PR #77

Dependencies: dependencies on other outstanding PRs, issues, etc.

Resolves #86

Merge deadline: List merge deadline (if any)

Installation instructions: List any non-trivial installation instructions.

Testing instructions:

Screencast from 05-06-2024 15:49:26.webm

Screencast from 05-06-2024 15:52:11.webm

Reviewers:

Merge checklist:

Post merge:

Author concerns: List any concerns about this PR - inelegant solutions, hacks, quick-and-dirty implementations, concerns about migrations, etc.