(alias-for-line query line)
(args-translate {:com.wsscode.pathom.connect.graphql2/keys [prefix ident-map]}
args)
(ast->graphql {:keys [ast] :com.wsscode.pathom.connect/keys [indexes]} ent)
(build-query env)
(defgraphql-resolver
{:com.wsscode.pathom.connect/keys [resolver-dispatch mutate-dispatch]}
{:com.wsscode.pathom.connect.graphql2/keys [resolver] :as config})
(demung-key demung 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
(entity-field-key {:com.wsscode.pathom.connect.graphql2/keys [mung prefix]}
entity
field)
(error-stamper {:com.wsscode.pathom.connect.graphql2/keys [errors base-path
demung]
:com.wsscode.pathom.core/keys [path errors*]})
(filter-graphql-subquery {:com.wsscode.pathom.connect.planner/keys [node]
:as env})
(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.
(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.
(filter-mutation-subquery {:keys [ast] :as env})
(gql-ident-reader {:keys [ast] :as env})
(graphql-mutation {:com.wsscode.pathom.connect.graphql2/keys [demung]
:as config}
env)
(graphql-resolve {:com.wsscode.pathom.connect.graphql2/keys [demung] :as config}
{headers :com.wsscode.pathom.diplomat.http/headers :as env})
(ident-map-entry env item)
(ident-map-params->io env params)
(ident-root {:com.wsscode.pathom.connect.graphql2/keys [prefix ident-map]}
{:keys [name] :as root-field})
(ident-root? {:com.wsscode.pathom.connect.graphql2/keys [ident-map]}
{:keys [args]})
(index-autocomplete-ignore {:com.wsscode.pathom.connect.graphql2/keys [schema]
:as env})
(index-graphql-errors errors)
(index-graphql-idents {:com.wsscode.pathom.connect.graphql2/keys
[schema ident-map mung]
:com.wsscode.pathom.connect/keys [index-io]
:as env})
(index-idents {:com.wsscode.pathom.connect.graphql2/keys [ident-map] :as env})
(index-mutations {:com.wsscode.pathom.connect.graphql2/keys [schema]
:as config})
(index-schema {:com.wsscode.pathom.connect.graphql2/keys [resolver prefix]
:as config})
(index-schema-io {:com.wsscode.pathom.connect.graphql2/keys [prefix schema
ident-map mung]
:as input})
(index-schema-oir {:com.wsscode.pathom.connect.graphql2/keys
[prefix schema resolver ident-map mung]
:com.wsscode.pathom.connect/keys [index-io]
:as input})
(index-schema-types schema)
(index-type env {:keys [fields name interfaces] :as input})
(index-type-key env {:keys [name kind]})
(interface-key env s)
(load-index req)
(load-index req indexes)
(mutation-key {:com.wsscode.pathom.connect.graphql2/keys [prefix mung]} 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.
(prefixed-key {:com.wsscode.pathom.connect.graphql2/keys [prefix mung]} p s)
(pull-idents data)
(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.
(remove-pathom-params params)
(request {:com.wsscode.pathom.connect.graphql2/keys [url] :as env} query)
(service-mutation-key {:com.wsscode.pathom.connect.graphql2/keys [prefix]})
(service-resolver-key env)
(type->field-entry env type)
(type->field-name env {:keys [kind name ofType]})
(type-key env s)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close