Skip to content

Conversation

@FXschwartz
Copy link
Contributor

Cover usage over PR - serverpod/serverpod#4614

@marcelomendoncasoares Docs submitted for the jsonKey model alias usage! Let me know what kind of changes you'd like made.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds documentation for the new jsonKey model field attribute to describe JSON key aliasing behavior and how to use it in model YAML.

Changes:

  • Documented jsonKey usage with YAML + Dart examples and common use cases.
  • Added an info callout clarifying interaction with database column naming.
  • Added jsonKey to the model keywords reference table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@marcelomendoncasoares marcelomendoncasoares left a comment

Choose a reason for hiding this comment

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

Thanks for the quick PR with the docs, @FXschwartz! Nicely done!! 🚀

@marcelomendoncasoares marcelomendoncasoares merged commit 19c73ad into serverpod:main Jan 29, 2026
4 checks passed
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.

2 participants