Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- toGraphQLDocument :: RootResCon m event query mut sub => proxy (GQLRootResolver m event query mut sub) -> ByteString
- toMorpheusHaskellAPi :: String -> ByteString -> Either ByteString ByteString
- gqlDocument :: QuasiQuoter
- parseFullGQLDocument :: ByteString -> Validation DataTypeLib
- importGQLDocument :: String -> Q [Dec]
- importGQLDocumentWithNamespace :: String -> Q [Dec]
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 #