app-office-league icon indicating copy to clipboard operation
app-office-league copied to clipboard

Office League - GraphQl - Handle conversion with numeric types

Open aro opened this issue 7 years ago • 1 comments

When the type is set to graphQlLib.GraphQLInt and the value returned is a JavaScript number, the value is silently ignored and removed from the returned data.

Set for example rating to graphQlLib.GraphQLInt in leaguePlayerType().

aro avatar Feb 28 '17 08:02 aro

Bug from graphql-java. Fixed in this commit: https://github.com/graphql-java/graphql-java/commit/e4004d37aa515102b075ebb88c9e11c8a710bb4e#diff-1eca978226cf8b8b21bf9424dca786dd

Will update when a release is available. For now we can use toInt as you did

GlennRicaud avatar Mar 01 '17 08:03 GlennRicaud