Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- toGraphQLDocument :: RootResCon m e c query mut sub => proxy (GQLRootResolver m e c 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 e c query mut sub => proxy (GQLRootResolver m e c query mut sub) -> ByteString Source #
Generates schema.gql file from GQLRootResolver
parseFullGQLDocument :: ByteString -> Validation DataTypeLib Source #