Skip to content

docs: update the reserved attribute name characters in the upgrade guide - #846

Draft
wikirik-agent wants to merge 1 commit into
mainfrom
wikirik-agent/attribute-names-upgrade-guide
Draft

wikirik-agent wants to merge 1 commit into
mainfrom
wikirik-agent/attribute-names-upgrade-guide

Conversation

@wikirik-agent

Copy link
Copy Markdown

Description of change

Companion of sequelize/sequelize#18461, which makes the attribute syntax parser and the model attribute-name validator share one reserved set: $, ., :, [, ] and control characters. Any other character (dashes, spaces, quotes, non-ASCII) is accepted in attribute names and usable in where / sql.attribute().

This updates the "Attribute names cannot use syntax reserved by Sequelize" section of the upgrade guide accordingly. Draft until the core PR is merged.

🤖 Generated with Claude Code

Companion of sequelize/sequelize#18461: attribute names now reject $, ., :, [, ] and control
characters anywhere, and accept any other character (dashes, spaces, quotes, non-ASCII).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Website draft URL
📋 Deployment logs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant