Hey guys,
I'm new to Medusa and I'm currently looking at the https://docs.medusajs.com/resources/recipes/ticket-booking/example. I noticed that when creating a venue and not using all the row types (VIP, Standard, Lounge, Balcony), this leads to a validation error when creating the product variant in step 9 (https://docs.medusajs.com/resources/recipes/ticket-booking/example#test-the-ticket-products-page).
I found that the variants array in create-ticket-product-modal always contains all the row types, even if the venue does't use them. By filtering them out, the validation error is fixed.
Maybe I missed something in the example, but when scrolling back to https://docs.medusajs.com/resources/recipes/ticket-booking/example#test-the-venues-page it actually also shows the usage of only some of the row types.
Thought I report this here if someone else stumbles across this