Need help with creating a mutation that involves relations
I'm a complete beginner just started and I'm really confused on how I will create this router with the mutation with all the relations
The schema is pretty big so I'll show one relation:
So the inputed array could be with multiple "experiences"
data : {
experiences: [
{.... experience 1},
{... experience 2},
... etc
], } And I want to create a mutation that can take that entire data and input it into the profile model, and this is my attempt on it, but i have no idea on how to make it actually work
], } And I want to create a mutation that can take that entire data and input it into the profile model, and this is my attempt on it, but i have no idea on how to make it actually work
3 Replies