mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[PR #37] [MERGED] Fix: Removal of brackets for scalar operations #158
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#158
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/37
Author: @Devorein
Created: 6/28/2020
Status: ✅ Merged
Merged: 7/1/2020
Merged by: @atulmy
Base:
master← Head:scalar-op-bracket-removal📝 Commits (2)
bd95714Fix: Removal of brackets for scalar operationscd5a881test: Added tests to validate removal of extraneous brackets📊 Changes
3 files changed (+163 additions, -5 deletions)
View changed files
📝
src/Utils.ts(+11 -4)📝
src/adapters/DefaultQueryAdapter.ts(+5 -1)📝
src/index.test.ts(+147 -0)📄 Description
ISSUE
{ }in the output which resulted in a bad requestFix
{ }{ }This is a fix for issue#36
I've also added additional tests as well. Things got a bit messy with strings due to whitespaces ;)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.