mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[PR #63] [MERGED] Use variable name when generating mutations #161
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#161
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/63
Author: @platformjb
Created: 1/8/2022
Status: ✅ Merged
Merged: 1/8/2022
Merged by: @atulmy
Base:
master← Head:mutation-variable-name📝 Commits (1)
bf2805eUse variablenamewhen generating mutations📊 Changes
2 files changed (+43 additions, -11 deletions)
View changed files
📝
src/adapters/DefaultMutationAdapter.ts(+1 -11)📝
src/index.test.ts(+42 -0)📄 Description
This resolves #62 whereby the
nameoption on variables is ignored when generating mutations.This is useful when generating a batch of the same mutations, which each requiring different variable values.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.