You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pydantic_core._pydantic_core.ValidationError: 1 validation error for ListItem
msg.chat_id
Input should be greater than or equal to 1 [type=greater_than_equal, input_value=-1001294902609, input_type=int]
For further information visit https://errors.pydantic.dev/2.7/v/greater_than_equal
To Reproduce
Just to have negative values in PK field of related table
Expected behavior
Do not get validation error
Additional context
Cause: constraint ge is reseting to 1 for relational field (where self.reference is not None)
Describe the bug
To Reproduce
Just to have negative values in PK field of related table
Expected behavior
Do not get validation error
Additional context
Cause: constraint
ge
is reseting to 1 for relational field (where self.reference is not None)tortoise-orm/tortoise/fields/data.py
Line 123 in 345af17
The text was updated successfully, but these errors were encountered: