Skip to content

Fix "Model Coupling" example in Schema docs#1073

Merged
ptoffy merged 1 commit intovapor:mainfrom
pkillian:fix/schema-migration-syntax-error
Mar 25, 2025
Merged

Fix "Model Coupling" example in Schema docs#1073
ptoffy merged 1 commit intovapor:mainfrom
pkillian:fix/schema-migration-syntax-error

Conversation

@pkillian
Copy link
Copy Markdown
Contributor

Amends the UserNameMigration code example in the "Model Coupling" section of the Schema documentation with correct syntax. Added closing square brackets to the dictionary literals passed into QueryBuilder.set(_ data:) in multiple places.

@pkillian pkillian requested review from a team, 0xTim and gwynne as code owners March 25, 2025 04:45
Copy link
Copy Markdown
Member

@ptoffy ptoffy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ptoffy ptoffy added the no-translation-needed This PR does not require the translations to be updated (e.g. fixing a typo or infrastructure work) label Mar 25, 2025
@ptoffy ptoffy merged commit 1a31253 into vapor:main Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-translation-needed This PR does not require the translations to be updated (e.g. fixing a typo or infrastructure work)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants