maple v0.3.0 API Reference

Modules

The purpose of this module is to parse a GraphQL schema and to dynamically create easy to use client code functions at compile time with which a user can execute queries and mutations on a GraphQL endpoint

Defines behaviour for a http adapter to query a GraphQL server

Defines behaviour for a websocket adapter to query a GraphQL server

Implements an adapter to resolve the GraphQL mutations and queries against a remote server using the Tesla HTTP client

Implements an adapter to resolve the GraphQL subscriptions over a web socket connection. This adapter implements the graphql-ws sub-protocol for Apollo servers. See [https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md) for more details

Implements an adapter to resolve the GraphQL subscriptions over a web socket connection. This adapter implements the graphql-subscriptions sub-protocol for Apollo servers

Helper functions to create the dybamic function in the macro. Helps keep the code somewhat clean and maintainable

This module parses a Tesla response and places it into a more convenient to use struct