Hi guys, I am using graphcool-framework, when I try to create a document (sale) with a relation to an array of other documents (attachments) I get this error:
GraphQL error: Variable '$attachments' cannot be non input type '[Attachment!]'.
What does it mean? where I am going wrong?
h
Harshit
03/19/2019, 11:44 AM
looks like you are passing wrong variables to the mutation
Harshit
03/19/2019, 11:46 AM
verify the types in the playground and provide it the correct types