-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: django
-
None
-
Python Drivers
Context
`django_mongodb.fields.auto.ObjectIdAutoField` can take an int as a primary key (for the sake of passing tests in the django test suite). For now, this is fine, but we should explore possible alternatives that don't result in this datatype miscommunication.
Definition of done
Either change the AutoField naming to reflect its openness to accept Int, actively choose to ignore this and highlight it as a consequence of needing to "pass tests." or some other identified and scoped item.
Pitfalls
May not be possible given how we cannot influence the state of Django tests.