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.

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