type Session = {
dayOfWeek: int
}
type Booking = {
sessions = [Session, Session?]
}
I am not able to create new Booking objects with 1 or more Session objects, however if I create an object in the firestore console, I can then update that Booking object and change the values of the dayOfWeek value and they work fine.
If I create the following:
I am not able to create new
Booking
objects with 1 or moreSession
objects, however if I create an object in the firestore console, I can then update thatBooking
object and change the values of thedayOfWeek
value and they work fine.