Unexpected id
field when inheriting a Model with custom primary_field
#499
Labels
bug
Something isn't working
Bug
When inheriting a model a Model with a custom primary field, automatic meaningless
id
field is being populated.see:
Current Behavior
Automatic
id
field is created.Expected behavior
Automatic
id
field shouldn't be created, just like the Super class.Environment
python -c "import pydantic.utils; print(pydantic.utils.version_info())
):Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: