maple v0.1.1 Maple View Source
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.
The module is built in such a way that you can pass it it the string name of an
adapter module. Please take a look at Maple.Behaviours.Adapter
for the expected
behaviour. For an example and the default implementation, please refer to
Maple.Client
.
Note: The module currently includes commented out, experimental code to create structs from the complex type definitions in a GraphQL schema.