You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Instructions
POST /catalog
to accept an array for the season, year, event_type, and category fieldsNotes
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
Resources
The text was updated successfully, but these errors were encountered: