nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
929 stars 195 forks source link

fix useMutation example #456

Closed slavanossar closed 1 year ago

slavanossar commented 1 year ago

variables is a property of the options object, see here.

Is there a reason why vue-apollo doesn't give variables its own parameter in useMutation while it does for useQuery/useSubscription?

netlify[bot] commented 1 year ago

Deploy Preview for apollo-module ready!

Name Link
Latest commit ea1fd10066585c2f1a431a0801ea490ad4deabb1
Latest deploy log https://app.netlify.com/sites/apollo-module/deploys/638ea2686551da00086fbfc6
Deploy Preview https://deploy-preview-456--apollo-module.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Diizzayy commented 1 year ago

@slavanossar Thanks for the PR!