Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float var values can be mistaken as int by the variable validator #270

Closed
abusi opened this issue Aug 8, 2019 · 0 comments · Fixed by #271
Closed

Float var values can be mistaken as int by the variable validator #270

abusi opened this issue Aug 8, 2019 · 0 comments · Fixed by #271
Assignees
Labels
bug Something isn't working
Milestone

Comments

@abusi
Copy link
Contributor

abusi commented Aug 8, 2019

SDL

type Payload {
   clientMutationId: String,
   bingo: String
}

type Mutation {
   mutateFloat(aFloat: Float): Payload
}

type Query {
   bob: String
}

Query

mutation($var: Float!) {
   mutateFloat(aFloat: $var){ 
      bingo
   }
}

variables

{ "var": 5 }
@abusi abusi added the bug Something isn't working label Aug 8, 2019
@abusi abusi added this to the road-to-v1 milestone Aug 8, 2019
@abusi abusi self-assigned this Aug 8, 2019
@abusi abusi closed this as completed in #271 Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant