FSharp.Data.GraphQL
FSharp.Data.GraphQL copied to clipboard
FSharp implementation of Facebook GraphQL query language.
### Question Is there a way to "generate" types for the server-side GraphQL API? At a glance, it _looks like_ types and their corresponding `Define.Object` _can_ be autogenerated. Or do...
### Description Error handling documentation is missing/not very clear. I found `AddError` method on `Context` object but it does not seem to produce any result. ### Repro steps As the...
Based on the Star Wars sample, it seems that there is quite a lot of boilerplate that would be needed in any GraphQL API. Only `Schema.fs` contains the "interesting" domain-specific...
* Simplify for typical usage (JSON over HTTP) * replace Json.NET with System.Text.Json serialization * Update samples to reflect changes
### Description The JsonValue.fs deserializer deserializes `0` into `int` while it must deserialize it into the type requested by the schema. Which is `float` in my case. We can simply...
This is an attempt to migrate to System.Text.Json. Newtonsoft is still used but only LINQ for variables substitution. @jberzy we cannot test the server via client F# scripts (uploads)
Sorry if this may have been brought up earlier. The sample app for creating a graphql server looks really daunting. Was wondering if files like https://github.com/fsprojects/FSharp.Data.GraphQL/blob/dev/samples/star-wars-api/WebSocketMiddleware.fs and https://github.com/fsprojects/FSharp.Data.GraphQL/blob/dev/samples/star-wars-api/JsonConverters.fs are really...
### Description Building integration tests (the project that uses type provider) take 02:35. Is it possible to do any performance optimization to reduce that time? Ideally 3-5 times 🙂 ###...
Looking at [this document](https://fsprojects.github.io/FSharp.Data.GraphQL/type-system.html#defining-an-object) there seems to be a way to provide parameter to a field resolver outside of the GraphQL context. This seems like what I need to use...
With this PR, I am adding an experimental tool package for working with AspNetCore using this [multipart request spec](https://github.com/jaydenseric/graphql-multipart-request-spec) to enable a file upload feature using GraphQL. The idea behind...