Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Allow mutations with GraphQLClient #201

Closed
1 of 3 tasks
noahbaron91 opened this issue Jun 15, 2021 · 1 comment
Closed
1 of 3 tasks

Allow mutations with GraphQLClient #201

noahbaron91 opened this issue Jun 15, 2021 · 1 comment

Comments

@noahbaron91
Copy link

Overview

Allow mutations with GraphQLClient and not just queries.

...

Type

  • New feature
  • Changes to existing features

Motivation

What inspired this feature request? What problems were you facing?
Wanting to make mutations using the shopify GraphQLClient
...

Area

  • Add any relevant Area: <area> labels to this issue

Checklist

  • [X ] I have described this feature request in a way that is actionable (if possible)
@paulomarg
Copy link
Contributor

Hey @noahbaron91, thank you for your request!

The query method from that class already supports any GraphQL request, including mutations. We even use it within the library to run a mutation to set up webhook subscriptions (the mutation is built here).

I'm closing this issue since we already provide the requested support, but if you have any specific issues while running mutations, please feel free to open other issues!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants