(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close