Skip to content

Conversation

@JusticeBrains
Copy link

Added an AttributeError in SQLModel.sqlmodel_update when attempting to set a field that does not exist on the model. This improves error visibility and prevents silent failures when invalid fields are provided.

JusticeBrains and others added 2 commits December 8, 2025 03:51
Added an AttributeError in SQLModel.sqlmodel_update when attempting to set a field that does not exist on the model. This improves error visibility and prevents silent failures when invalid fields are provided.
@YuriiMotov
Copy link
Member

@JusticeBrains, thanks for your interest!

Could you please explain why you think we need this?
Are there any related discussions?
I haven't seen anybody complaining about this behavior and requesting such changes..

This is a breaking change and to accept it we need to have strong argumentation.

@svlandeg svlandeg marked this pull request as draft January 28, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants