Liking cljdoc? Tell your friends :D

com.wsscode.pathom.connect.graphql2


alias-for-lineclj/s

(alias-for-line query line)
source

args-translateclj/s

(args-translate {:com.wsscode.pathom.connect.graphql2/keys [prefix ident-map]}
                args)
source

ast->graphqlclj/s

(ast->graphql {:keys [ast] :com.wsscode.pathom.connect/keys [indexes]} ent)
source

build-queryclj/s

(build-query env)
source

defgraphql-resolverclj/s

(defgraphql-resolver
  {:com.wsscode.pathom.connect/keys [resolver-dispatch mutate-dispatch]}
  {:com.wsscode.pathom.connect.graphql2/keys [resolver] :as config})
source

demung-keyclj/s

(demung-key demung s)
source

demunger-map-readerclj/s

(demunger-map-reader {:com.wsscode.pathom.connect.graphql2/keys [demung]
                      :keys [ast query]
                      :as env})

Reader that will demunge keys using user function

Reader that will demunge keys using user function
sourceraw docstring

entity-field-keyclj/s

(entity-field-key {:com.wsscode.pathom.connect.graphql2/keys [mung prefix]}
                  entity
                  field)
source

error-stamperclj/s

(error-stamper {:com.wsscode.pathom.connect.graphql2/keys [errors base-path
                                                           demung]
                :com.wsscode.pathom.core/keys [path errors*]})
source

filter-graphql-subqueryclj/s

(filter-graphql-subquery {:com.wsscode.pathom.connect.planner/keys [node]
                          :as env})
source

filter-graphql-subquery-legacyclj/s

(filter-graphql-subquery-legacy {:com.wsscode.pathom.core/keys [parent-query]
                                 :com.wsscode.pathom.connect.graphql2/keys
                                   [prefix]
                                 :as env})

Given the parent query, filter the fields to send to GraphQL, this implementation relies on the namespace to decide if a attribute should be picked or not.

Given the parent query, filter the fields to send to GraphQL, this implementation relies
on the namespace to decide if a attribute should be picked or not.
sourceraw docstring

filter-graphql-subquery-plannerclj/s

(filter-graphql-subquery-planner {:com.wsscode.pathom.core/keys [parent-query]
                                  :com.wsscode.pathom.connect.planner/keys
                                    [node]
                                  :as env})

Given the parent query, filter the fields to send to GraphQL, this implementation relies on the pathom planner, pulling from the requires, this is more precise then the previous implementation.

Given the parent query, filter the fields to send to GraphQL, this implementation relies
on the pathom planner, pulling from the requires, this is more precise then the previous
implementation.
sourceraw docstring

filter-mutation-subqueryclj/s

(filter-mutation-subquery {:keys [ast] :as env})
source

gql-ident-readerclj/s

(gql-ident-reader {:keys [ast] :as env})
source

graphql-mutationclj/s

(graphql-mutation {:com.wsscode.pathom.connect.graphql2/keys [demung]
                   :as config}
                  env)
source

graphql-resolveclj/s

(graphql-resolve {:com.wsscode.pathom.connect.graphql2/keys [demung] :as config}
                 {headers :com.wsscode.pathom.diplomat.http/headers :as env})
source

ident-map-entryclj/s

(ident-map-entry env item)
source

ident-map-params->ioclj/s

(ident-map-params->io env params)
source

ident-rootclj/s

(ident-root {:com.wsscode.pathom.connect.graphql2/keys [prefix ident-map]}
            {:keys [name] :as root-field})
source

ident-root?clj/s

(ident-root? {:com.wsscode.pathom.connect.graphql2/keys [ident-map]}
             {:keys [args]})
source

index-autocomplete-ignoreclj/s

(index-autocomplete-ignore {:com.wsscode.pathom.connect.graphql2/keys [schema]
                            :as env})
source

index-graphql-errorsclj/s

(index-graphql-errors errors)
source

index-graphql-identsclj/s

(index-graphql-idents {:com.wsscode.pathom.connect.graphql2/keys
                         [schema ident-map mung]
                       :com.wsscode.pathom.connect/keys [index-io]
                       :as env})
source

index-identsclj/s

(index-idents {:com.wsscode.pathom.connect.graphql2/keys [ident-map] :as env})
source

index-mutationsclj/s

(index-mutations {:com.wsscode.pathom.connect.graphql2/keys [schema]
                  :as config})
source

index-schemaclj/s

(index-schema {:com.wsscode.pathom.connect.graphql2/keys [resolver prefix]
               :as config})
source

index-schema-ioclj/s

(index-schema-io {:com.wsscode.pathom.connect.graphql2/keys [prefix schema
                                                             ident-map mung]
                  :as input})
source

index-schema-oirclj/s

(index-schema-oir {:com.wsscode.pathom.connect.graphql2/keys
                     [prefix schema resolver ident-map mung]
                   :com.wsscode.pathom.connect/keys [index-io]
                   :as input})
source

index-schema-typesclj/s

(index-schema-types schema)
source

index-typeclj/s

(index-type env {:keys [fields name interfaces] :as input})
source

index-type-keyclj/s

(index-type-key env {:keys [name kind]})
source

interface-keyclj/s

(interface-key env s)
source

load-indexclj/s

(load-index req)
(load-index req indexes)
source

mutation-keyclj/s

(mutation-key {:com.wsscode.pathom.connect.graphql2/keys [prefix mung]} s)
source

normalize-schemaclj/s

(normalize-schema schema)

Depending on encoding settings sometimes the :kind can come as a keyword, the indexer expects it to be a string, this function ensures all :kind fields are strings.

Depending on encoding settings sometimes the :kind can come as a keyword, the indexer expects it to
be a string, this function ensures all :kind fields are strings.
sourceraw docstring

parser-itemclj/s

source

prefixed-keyclj/s

(prefixed-key {:com.wsscode.pathom.connect.graphql2/keys [prefix mung]} p s)
source

pull-identsclj/s

(pull-idents data)
source

query->graphqlclj/s

(query->graphql query
                {:com.wsscode.pathom.connect.graphql2/keys [demung tempid?]
                 :or {demung identity tempid? (constantly false)}})

Like the pg/query-graphql, but adds name convertion so clj names like :first-name turns in firstName.

Like the pg/query-graphql, but adds name convertion so clj names like :first-name turns in firstName.
sourceraw docstring

remove-pathom-paramsclj/s

(remove-pathom-params params)
source

requestclj/s

(request {:com.wsscode.pathom.connect.graphql2/keys [url] :as env} query)
source

schema-queryclj/s

source

service-mutation-keyclj/s

(service-mutation-key {:com.wsscode.pathom.connect.graphql2/keys [prefix]})
source

service-resolver-keyclj/s

(service-resolver-key env)
source

type->field-entryclj/s

(type->field-entry env type)
source

type->field-nameclj/s

(type->field-name env {:keys [kind name ofType]})
source

type-keyclj/s

(type-key env s)
source

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

× close