Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- toGraphQLDocument :: RootResCon m event query mut sub => proxy (GQLRootResolver m event query mut sub) -> ByteString
- gqlDocument :: QuasiQuoter
- parseFullGQLDocument :: ByteString -> Validation DataTypeLib
- importGQLDocument :: String -> Q [Dec]
- importGQLDocumentWithNamespace :: String -> Q [Dec]
- parseDSL :: ByteString -> Either String DataTypeLib
Documentation
toGraphQLDocument :: RootResCon m event query mut sub => proxy (GQLRootResolver m event query mut sub) -> ByteString Source #
Generates schema.gql file from GQLRootResolver
parseFullGQLDocument :: ByteString -> Validation DataTypeLib Source #
parseDSL :: ByteString -> Either String DataTypeLib Source #