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

Catalog Create Event Form (Backend) #57

Closed
michellelin1 opened this issue Mar 5, 2024 · 0 comments · Fixed by #60
Closed

Catalog Create Event Form (Backend) #57

michellelin1 opened this issue Mar 5, 2024 · 0 comments · Fixed by #60
Labels

Comments

@michellelin1
Copy link
Member

Instructions

  • To accommodate for the multi select fields on the catalog form (season, year, event_type, category), in the database schema, change those types to be any array of enums.
  • Modify the POST /catalog to accept an array for the season, year, event_type, and category fields

Notes

  • Adding an array of enums may affect the GET /catalog route when they are filtering by season, event_type, etc since the query currently expects those fields to be a single enum. Please adjust the query as necessary to accommodate the array of enums.

Acceptance Criteria

  • You are able to create events with multiple selections.
  • Other catalog routes still work accordingly

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants