DictField key validation #9869
Unanswered
snowman2
asked this question in
Ideas & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://stackoverflow.com/questions/75148782/django-rest-framework-serializers-dictfield-constraint-on-possible-keys
It would also be nice to run validators on the keys as well. Adding
keyas serializer Field would enable that in a more DRF way of doing things.Beta Was this translation helpful? Give feedback.
All reactions