Skip to content

Conversation

@FXschwartz
Copy link

Cover usage over PR - serverpod/serverpod#4300

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

Copilot AI review requested due to automatic review settings January 16, 2026 03:40
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

This pull request adds comprehensive documentation for enhanced enum functionality in Serverpod, which allows enums to have custom properties attached to each value. The documentation covers how to define enhanced enums, supported property types, default property values, and documentation syntax for properties and values.

Changes:

  • Added new section "Enhanced enums with properties" with examples showing how to define and use enhanced enums
  • Documented supported property types (int, double, bool, String and their nullable variants)
  • Added examples of default property values for enum properties
  • Updated the Keywords table to include the new properties keyword for enums

💡 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.

Docs look great, @FXschwartz! I added just one comment in addition to Copilot suggestions.

@FXschwartz
Copy link
Author

@marcelomendoncasoares Changes made! Ready for another review.

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