vkolgi / json-to-graphql-query

Simple module that converts JavaScript objects to GraphQL query syntax
MIT License
283 stars 39 forks source link

Documentation is missing a mutation example #54

Closed Bernold1 closed 1 year ago

Bernold1 commented 2 years ago

As the title states, we have no example on how to create a mutation, which could be super beneficial for everyone. 👍

pheuberger commented 2 years ago

Would love to see that as well. Also, it would be cool to have an example how to insert multiple objects for example. I'm not sure how the syntax for that would look like.

vkolgi commented 1 year ago

@Bernold1 The documentation for a simple mutation is added now. If you see the tests we do have another example as well.

pheuberger commented 1 year ago

thanks, @vkolgi! is it actually possible to insert multiple items at once?

Bernold1 commented 1 year ago

Awesome thanks @vkolagi