mu-graphql-0.5.0.3: GraphQL support for Mu
Safe HaskellNone
LanguageHaskell2010

Mu.GraphQL.Quasi

Description

Read .graphql files as a Schema and Package with one Service per object in the schema.

Synopsis

Documentation

graphql Source #

Arguments

:: String

Name for the Package type, the Schema is derived from it

-> FilePath

Route to the file

-> Q [Dec] 

Imports an GraphQL schema definition from a file.

graphqlWithExtendedPrimitives Source #

Arguments

:: Primitives 
-> String

Name for the Package type, the Schema is derived from it

-> FilePath

Route to the file

-> Q [Dec] 

Imports an GraphQL schema definition from a file.

graphql' Source #

Arguments

:: Primitives 
-> String

Name for the Schema type

-> String

Name for the Package type

-> FilePath

Route to the file

-> Q [Dec] 

Imports an GraphQL schema definition from a file.