UniqueTogetherValidator validation is not made on passed data using many #9511
Unanswered
ghost
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
Uh oh!
There was an error while loading. Please reload this page.
-
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