ocaml-graphql-server
ocaml-graphql-server copied to clipboard
Extensions + middleware
Similar to https://github.com/sangria-graphql/sangria/issues/256 and related to #58 , we'd like to have a way to have middleware that'll take care of some cross-cutting concerns and then store their results in the extensions field of the GraphQL response, so that other network layers (proxies, cacheing, instrumentation, etc.) can transparently work with our GraphQL responses.