Open xperiandri opened 3 years ago
@xperiandri GraphQL is not restricted to one platform and it's designed to work with common subset of types (that are eventually representable in JSON). These common types are supported by all GraphQL libraries (including this one), and they are listed at the beginning of the document you've linked.
That being said, .NET standard library has wider area of types, and not all of them are supported in this implementation - mostly to keep it aligned with the standard. Relaxing on the standard means that other platforms may not understand schema of your service out of the box. That being said, I think this could probably be a good point for contributions as it's a worthwhile goal and fairly easy to implement.
Looks like GraphQL supports more scalars then
FSharp.Data.GraphQL
https://graphql-dotnet.github.io/docs/getting-started/schema-types#scalarsOr they just did that in C# implementation?