ocaml-graphql-server
ocaml-graphql-server copied to clipboard
GraphQL servers in OCaml
We'd like to perform query validation against the schema before we execute queries. For reference, the spec includes a handy section on doing validation before execution: http://spec.graphql.org/draft/#sec-Validation Looking at graphql-js,...
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. Release notes Sourced from actions/checkout's releases. v3.0.0 Update default runtime to node16 v2.4.0 Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr v2.3.5 Update...
hi, andreas: Some of the http lib like okhttp, dart-lang http will append "charset=utf-8" to header "Content-Type" automatically, it will cause the rejection of ocaml-graphql-server, but pity hard to remove...
fix: issue where Fmt.prefix is deprecated, replaced with ( ++ ); fix: issue andreas/ocaml-graphql-server#196 where content-type containing an encoding would fail to process
There are two use cases of arg defaultValues that can't be expressed with ocaml-graphql-server. 1. A nullable arg can never be null in the resolver. 2. A non-null arg can't...
Looks like these two directives will go into the spec soon - any thoughts on how OGS should approach adding them in?
It would be nice if we could derive a schema directly from a type, for example: ```ocaml type user = { id : int [@description "Unique user identifier"]; name :...
Right now a single field must return *either* data *xor* error, but this is especially lossy for `list` io_field types. I may succeed on 80/100 items I need (and would...
I'm working on implementing a Node interface for OneGraph. Each of our underlying APIs implements its own node interface, so we have `GitHubNode`, `SalesforceNode`, `IntercomNode`, etc. To implement the resolver...
Hi! I wanted to use ocaml-graphql-server with [opium](https://github.com/anuragsoni/opium/tree/httpaf-update/opium) (the Httpaf version), so I generalized the implementation of graphql-cohttp to support other request and response types. The goal is to make...