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
{{ message }}
Repository navigation
Adding a value to a Field greater than the max_length results in null values #148
I have created a SQLModel with a string column and max_length constraint. If I add a value greater than the max_length constraint, instead of raising a validation error, the value is being set as None which isn't the desired behaviour, I have tried persisting the row to the db and I get an empty value there too (check third value).
changed the title [-]Adding a value to a field greater than the max_length results in null values[/-][+]Adding a value to a Field greater than the max_length results in null values[/+]on Oct 28, 2021
Activity
[-]Adding a value to a field greater than the max_length results in null values[/-][+]Adding a value to a Field greater than the max_length results in null values[/+]mudassirkhan19 commentedon Oct 28, 2021
I'll close this, just found a similar issue here.
#134