ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.27k stars 748 forks source link

Fix ID Input Coercion #264

Closed michaelstaib closed 6 years ago

michaelstaib commented 6 years ago

When expected as an input type, any string (such as "4") or integer (such as 4) input value should be coerced to ID as appropriate for the ID formats a given GraphQL server expects. Any other input value, including float input values (such as 4.0), must raise a query error indicating an incorrect type.

algjohnston commented 2 weeks ago

Is it really fixed?

https://stackoverflow.com/questions/79182547/how-do-you-get-strawberryshake-to-treat-id-as-a-number