I read in this thread that you can also use json fields to nest data this thread
This is my structure:
training exercises repetitions
One training (schema) has n exercises, one exercise has n repetitions
Normally I would put this inside one json object per training, since the data is relatively ‘static’ and used as template for workouts.
However, I could also define separate types (Training, Exercise, Repetition) and make the structure fully related.
Question: which method would be better in terms of ease of querying/mutating data later on? I’m still new to graphcool so I can’t fully oversee the consequences of design choices yet.