{"repo":"fsprojects/FSharp.Data.GraphQL","free":true,"listed":false,"github":"https://github.com/fsprojects/FSharp.Data.GraphQL","clone":"git clone https://github.com/fsprojects/FSharp.Data.GraphQL.git","description":"FSharp implementation of Facebook GraphQL query language.","language":"F#","stars":409,"topics":["graphql","fsharp","relay","react","made-by-ukrainians"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"FSharp.Data.GraphQL F# implementation of Facebook GraphQL query language specification. Installing project templates Type the following commands to install the template for creating web applications: From GitHub: dotnet new -i \"FSharp.Data.GraphQL::2.0.0-ci- \" --nuget-source \"https://nuget.pkg.github.com/fsprojects/index.json\" From NuGet: dotnet new -i \"FSharp.Data.GraphQL::2.0.0\" Quick start It's type safe. Things like invalid fields or invalid return types will be checked at compile time. ASP.NET / Giraffe / WebSocket (for GraphQL subscriptions) usage See the AspNetCore/README.md Demos GraphiQL client Go to the GraphiQL sample directory. In order to run it, build and run the Star Wars API sample project with Debug settings - this will create a Giraffe server compatible with the GraphQL spec, running on port 8086. Then what you need is to run node.js graphiql frontend. To do so, run npm i to get all dependencies, and then run npm run serve npm run dev - this will start a webpack server running on http://localhost:8090/ . Visit this link, and GraphiQL editor should appear. You may try it by applying following query: Stream features The stream directive now has additional features, like batching (buffering) by interval and/or batch size. To make it work, a custom stream directive must be placed inside the SchemaConfig.Directives list, this custom directive containing two optional arguments called interval and preferredBatchSize : This boilerplate code can be easily reduced wit","default_branch":null,"files":null,"tree":[],"storefront":"/r/fsprojects","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fsprojects/FSharp.Data.GraphQL/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}