Skip to content

DEV-581 Event Model Serializer#16

Open
ang-cai wants to merge 1 commit intopreviewfrom
dev-581-event-model-serializer
Open

DEV-581 Event Model Serializer#16
ang-cai wants to merge 1 commit intopreviewfrom
dev-581-event-model-serializer

Conversation

@ang-cai
Copy link

@ang-cai ang-cai commented Feb 17, 2026

References

Proposed Changes

  • Added model sterilizer for event with all fields and owner/user as read only
  • I've not seen this before so I tried using the documentation and AI but lmk if this is not what you meant and I'm misunderstanding this

@ang-cai ang-cai requested a review from jfmath04 February 17, 2026 22:15
@linear
Copy link

linear bot commented Feb 17, 2026

@jfmath04 jfmath04 changed the title Added event model sterilizer DEV-581 Event Model Serializer Feb 17, 2026
Copy link
Contributor

@jfmath04 jfmath04 left a comment

Choose a reason for hiding this comment

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

Good work! This is correct!

We should also add error messages for the CharFields to enforce minimum and maximum length, similar to MailRequestSerializer in the backend of mail. Also maybe let's list out the fields explicitly instead of using __all__.

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

Comments