(executor schema)
Alias for specialist-server.core/server
Alias for specialist-server.core/server
(server schema & pre-strings)
Creates GraphQL server fn from schema.
Usage: (def graphql (server {:query {...} :mutation {...}})) (graphql {:query "query FooQuery {...}" :context my-ctx :root {}})
You can also pass in query strings which are pre-parsed and can be called by name (similiar to stored procedures):
(def graphql-pre (server {:query {...} :mutation {...}} (slurp path-to-queries-1) ... (slurp path-to-queries-N))) (graphql-pre {:queryName "FooQuery" :variables {...} :context my-ctx :root {}})
Creates GraphQL server fn from schema. Usage: (def graphql (server {:query {...} :mutation {...}})) (graphql {:query "query FooQuery {...}" :context my-ctx :root {}}) You can also pass in query strings which are pre-parsed and can be called by name (similiar to stored procedures): (def graphql-pre (server {:query {...} :mutation {...}} (slurp path-to-queries-1) ... (slurp path-to-queries-N))) (graphql-pre {:queryName "FooQuery" :variables {...} :context my-ctx :root {}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close