Variable \"$data\" of required type "Type" was not provided

437 Views Asked by At

I have a survey creation mutation and I want to create nested records with survey creation mutation. I am using query variables to set the data for mutation. When I create only survey without nested attributes it works successfully but when I add nested attributes I get the error as attached. I have a backend in nexus prisma2.

Quick help will highly be appreciated.

enter image description here

enter image description here

0

There are 0 best solutions below