Open sebitoelcheater opened 5 years ago
Thanks for reporting this bug.
It's an interesting problem, and I see multiple records of it in Mongoengine repos, see this github issue and this stackoverflow question.
If you could submit a unit-test with this problem, it would be ideal. Any help is more than welcome.
Sorry, I'm very pressed with multiple deadlines and can't dedicate much time to this project unfortunately. So, if you really want to get something done by me, please keep poking me, otherwise I'll forget about this issue in favour of more urgent matters.
I'm getting error when creating an Invoice from an InvoiceSerializer with a field that is a List of ReferenceFields. This code:
will raise this error
However, this code works if unique=True is removed.