Closed dhodun closed 1 year ago
Expected behavior:
Adding multiple IDFields to a Model should throw error.
Actual Behavior:
Multiple IDField items are accepted, and the last one appears to be the one that is actually used and populated.
IDField
class User(Model): custom_id = IDField() another_custom_id = IDField() name = TextField()
Expected behavior:
Adding multiple IDFields to a Model should throw error.
Actual Behavior:
Multiple
IDField
items are accepted, and the last one appears to be the one that is actually used and populated.