create query before passing it to graphql code example
Example: graphql mutation passing data
input EventInput {
title:String!
desc:String!
price:Float!
}
type RootMutations{
createEvent(E_input:EventInput) : Event
}
input EventInput {
title:String!
desc:String!
price:Float!
}
type RootMutations{
createEvent(E_input:EventInput) : Event
}