mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[PR #78] [MERGED] Support operation name for mutations #91
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gql-query-builder#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/atulmy/gql-query-builder/pull/78
Author: @themagickoala
Created: 11/30/2022
Status: ✅ Merged
Merged: 11/30/2022
Merged by: @atulmy
Base:
master← Head:72-allow-naming-mutations📝 Commits (2)
0d514f4Support operation name for mutations0d3b38cAdd mutation with operation name to readme📊 Changes
4 files changed (+94 additions, -12 deletions)
View changed files
📝
README.md(+30 -3)📝
src/adapters/DefaultMutationAdapter.ts(+27 -4)📝
src/index.test.ts(+31 -0)📝
src/index.ts(+6 -5)📄 Description
This PR addresses issue #72 in order to allow passing an operationName to mutations (in the same way that is already possible for queries). I've also added a test for it in index.test.ts and updated the readme with example usage.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.