Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add server-side validation schema for events #4622

Merged
merged 5 commits into from Dec 31, 2022
Merged

refactor: add server-side validation schema for events #4622

merged 5 commits into from Dec 31, 2022

Conversation

elidrissidev
Copy link
Contributor

Refactoring the events API endpoints to use server-side validation schema.

@auto-assign auto-assign bot requested a review from tommoor December 31, 2022 12:32
@tommoor
Copy link
Member

tommoor commented Dec 31, 2022

The database schema is probably a bit loose here, it's a very old model – there should always be an actor and a team at a minimum

@elidrissidev
Copy link
Contributor Author

The database schema is probably a bit loose here, it's a very old model – there should always be an actor and a team at a minimum

👍 just noticed the conditions inside the route handler. Should be good now.

@tommoor tommoor merged commit dc79560 into outline:main Dec 31, 2022
@elidrissidev elidrissidev deleted the refactor/events-server-side-validation branch December 31, 2022 22:56
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.

None yet

2 participants