UniqueTogetherValidator validation is not made on passed data using many #9511
Unanswered
ParfaitD9
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
UniqueTogetherValidator
in a serializer and passing a list of dict as data withmany=True
, unicity is not checked between passed data.Exemple
I'm currently correcting that using
and it thinks DRF should handle such cases (in a better way than O(n^2)) except there is a reason to not.
Beta Was this translation helpful? Give feedback.
All reactions