Liking cljdoc? Tell your friends :D

com.wsscode.pathom.graphql


*unbounded-recursion-count*

source

camel-case

(camel-case s)
source

find-id

(find-id m tempid?)
source

group-inline-unions

(group-inline-unions children)
source

has-call?

(has-call? children)
source

ident->alias

(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).
sourceraw docstring

ident-transform

(ident-transform [key value])
source

kebab-case

(kebab-case s)
source

node->graphql

(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)}})
source

pad-depth

(pad-depth depth)
source

params->graphql

(params->graphql x js-name tempid?)
(params->graphql x js-name tempid? root?)
source

query->graphql

(query->graphql query)
(query->graphql query options)

Convert query from EDN format to GraphQL string.

Convert query from EDN format to GraphQL string.
sourceraw docstring

special-params

source

stringify

(stringify x)
source

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

× close