graphql-go / graphql-go/graphql

parse field different between variable way and unvariable way

Open
#525 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
10.1k
Forks
845
PR merge metrics
No merged PRs in 30d

Description

## same interface, use unvariable way

![image](https://user-images.githubusercontent.com/21983419/71720725-a4351580-2e5d-11ea-8b90-53782e683865.png)

## use variable way
![image](https://user-images.githubusercontent.com/21983419/71720755-c2027a80-2e5d-11ea-9ca1-ad8a0ef1f846.png)

## streamID is ID! type
## unvariable way can prompt: it is type error, 1.1 is useless value, but variable way can't.
## so it will let front-end confuse when use variable way

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.