chkimes / graphql-net

Convert GraphQL to IQueryable
MIT License
891 stars 86 forks source link

Parse int and double values using invariant culture #72

Closed MarianPalkus closed 7 years ago

MarianPalkus commented 7 years ago

I ran into an issue with parsing doubles.

In a query like this: anyQuery(doubleArgument: 0.5) {...} The argument doubleArgument might be parsed to the value "5" if a culture with decimal comma is used. (see this SO-thread)

This PR fixes this issue.

chkimes commented 7 years ago

Nice catch! Thanks for this.