Are people successfully using the input type in cr...
# orm-help
c
Are people successfully using the input type in create and update mutations?
p
i actually had to remove the input types because I couldn't get them working
c
Same, I haven't been able to use inputs from the generated schema either! @nilan are we able to use input types defined in our own schema?
n
Sure, this should work. Can you share an example of what you tried and what is happening?
c
In my schema.graphql for a mutation I've added the arg input and referenced an input type called createCollectionInput with the properties it expects but in the playground I'm not able to run the query - I might be defining the variables wrong in the query variables section?
Fixed this by using 'data' as the args in 'schema.graphql' for anyone searching for it - create a normal Input type such as Input createProductInput with the properties you want to pass and in the mutation reference it like createProduct(data: createProductInput!): Product