serpy
serpy copied to clipboard
Input validation with serpy
Hi,
I Implement Serpy with DRF. However when I wish to validate them, I have an error with serpy serializer like see in documentation. The code implementation will be do or I need to use two serializers, the standard DRF serializer for the form validation and the serpy for the listing serialization ?
Thanks
Serpy doesn't currently handle input validation gracefully, so it might be best to have a DRF serializer for validation.
@clarkduvall can you please explain this with a small example please :)
@clarkduvall is this by design or just an unfortunate limitation? If serpy could maintain it's performance but also be able to handle field validation would crank things up a notch.
@clarkduvall I'd be down to submit PR if it's something your open to