Open mattwelson opened 6 years ago
This is both a cms problem and a gatsby problem https://stackoverflow.com/questions/49456106/how-to-make-a-one-to-many-connection-between-netlify-cms-and-gatsby Explores both sides.
Looks like for the concept of a trip containing multiple days we'd want to link them backwards, so the day is the one that knows about it's trip (just one relation) rather than having a list of days in the trip.
This is both a cms problem and a gatsby problem https://stackoverflow.com/questions/49456106/how-to-make-a-one-to-many-connection-between-netlify-cms-and-gatsby Explores both sides.
Looks like for the concept of a trip containing multiple days we'd want to link them backwards, so the day is the one that knows about it's trip (just one relation) rather than having a list of days in the trip.