Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input validation with serpy #24

Open
JonathanRamier opened this issue May 21, 2016 · 4 comments
Open

Input validation with serpy #24

JonathanRamier opened this issue May 21, 2016 · 4 comments

Comments

@JonathanRamier
Copy link

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

@clarkduvall
Copy link
Owner

Serpy doesn't currently handle input validation gracefully, so it might be best to have a DRF serializer for validation.

@ikevinsolomon
Copy link

@clarkduvall can you please explain this with a small example please :)

@digitaldavenyc
Copy link

@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.

@digitaldavenyc
Copy link

@clarkduvall I'd be down to submit PR if it's something your open to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants