gql query vs mutation 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
}