maple v0.1.1 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 an 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. Ideally, you could write your own adapter as long as it conforms to the Maple.Behaviours.Adapter behaviour

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