manosim / manosim/django-rest-framework-docs
Support for nested serializers
- Dominant language
- Python
- Stars
- 641
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
Great tool! Are there any plans to support nested serializers? Like say:
``` python
class FooSerializer(serializers.Serializer):
spam = serializers.CharField()
class BarSerializer(serializers.Serializer):
foo = FooSerializer()
```
The endpoint for `BarSerializer` would list all the fields inside `FooSerializer`.
If you point me in the right direction, I can also take a look myself. Thanks again for making this tool.
Best,
Silvio
Contributor guide
Research direction
The issue names no files or tests. Start by locating how serializer fields are enumerated for endpoint output and trace the BarSerializer example with its nested FooSerializer. Done means the BarSerializer endpoint lists the fields inside FooSerializer, with coverage for the nested case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100