Liking cljdoc? Tell your friends :D

district.server.graphql.utils


build-default-field-resolvercljs

(build-default-field-resolver gql-name->kw)

Default resolver that tries to return a keyword property given a gql-name, assuming obj is a map

Default resolver that tries to return a keyword property
given a gql-name, assuming obj is a map
sourceraw docstring

build-schemacljs

(build-schema schema-str resolvers-map {:keys [kw->gql-name gql-name->kw]})

schema-str: A string containig a graphql schema definition. resolvers-map: A map like {:Type {:field1 resolver-fn}}. kw->gql-name: A fn for serializing keywords to gql names. gql-name->kw: A fn for parsing keywords from gql names.

schema-str: A string containig a graphql schema definition.
resolvers-map: A map like {:Type {:field1 resolver-fn}}.
kw->gql-name: A fn for serializing keywords to gql names.
gql-name->kw: A fn for parsing keywords from gql names.
sourceraw docstring

make-executable-schemacljs

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close