(camel-case s)
(find-id m tempid?)
(group-inline-unions children)
(has-call? children)
(ident->alias [base value])
Convert ident like [:Contact/by-id 123] to an usable GraphQL alias (eg: _COLON_Contact_SLASH_by_id_123).
Convert ident like [:Contact/by-id 123] to an usable GraphQL alias (eg: _COLON_Contact_SLASH_by_id_123).
(ident-transform [key value])
(kebab-case s)
(node->graphql {:keys [type children key dispatch-key params union-key query]
:com.wsscode.pathom.graphql/keys [js-name depth ident-transform
parent-children tempid?]
:or {depth 0 tempid? (constantly false)}})
(pad-depth depth)
(params->graphql x js-name tempid?)
(params->graphql x js-name tempid? root?)
(query->graphql query)
(query->graphql query options)
Convert query from EDN format to GraphQL string.
Convert query from EDN format to GraphQL string.
(stringify x)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close