Liking cljdoc? Tell your friends :D

com.wsscode.pathom.connect.graphql

DEPRECATED: this whole namespaced is deprecated, it will stay in the codebase to keep compatibility for old users, but we recommend moving to the graphql2 ns, the issues that happen is that by trying to normalize the graphql names to be more clojure friendly we end up in cases were graphql things get unreachable, the new approach just sends the data as-is, making everything reachable

DEPRECATED: this whole namespaced is deprecated, it will stay in the codebase to keep
compatibility for old users, but we recommend moving to the graphql2 ns, the issues
that happen is that by trying to normalize the graphql names to be more clojure friendly
we end up in cases were graphql things get unreachable, the new approach just sends
the data as-is, making everything reachable
raw docstring

alias-for-lineclj/s

(alias-for-line query line)

args-translateclj/s

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

ast->graphqlclj/s

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

build-queryclj/s

(build-query env)

camel-keyclj/s

(camel-key s)

defgraphql-resolverclj/s

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

entity-field-keyclj/s

(entity-field-key prefix entity field)

error-stamperclj/s

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

filter-graphql-subqueryclj/s

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

filter-mutation-subqueryclj/s

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

gql-ident-readerclj/s

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

graphql-mutationclj/s

(graphql-mutation config env)

graphql-resolveclj/s

(graphql-resolve config env)

ident-map-entryclj/s

(ident-map-entry prefix item)

ident-map-params->ioclj/s

(ident-map-params->io {:com.wsscode.pathom.connect.graphql/keys [prefix]}
                      params)

ident-rootclj/s

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

ident-root?clj/s

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

index-autocomplete-ignoreclj/s

(index-autocomplete-ignore {:com.wsscode.pathom.connect.graphql/keys [prefix
                                                                      schema]})

index-graphql-errorsclj/s

(index-graphql-errors errors)

index-graphql-identsclj/s

(index-graphql-idents {:com.wsscode.pathom.connect.graphql/keys [prefix schema
                                                                 ident-map]
                       :com.wsscode.pathom.connect/keys [index-io]})

index-identsclj/s

(index-idents {:com.wsscode.pathom.connect.graphql/keys [prefix ident-map]})

index-keyclj/s

(index-key s)

index-mutationsclj/s

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

index-schemaclj/s

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

index-schema-ioclj/s

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

index-schema-oirclj/s

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

index-schema-typesclj/s

(index-schema-types schema)

index-typeclj/s

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

index-type-keyclj/s

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

interface-keyclj/s

(interface-key prefix s)

kebab-keyclj/s

(kebab-key s)

load-indexclj/s

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

mutation-keyclj/s

(mutation-key prefix s)

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.
raw docstring

parser-itemclj/s


prefixed-keyclj/s

(prefixed-key prefix p s)

pull-identsclj/s

(pull-idents data)

query->graphqlclj/s

(query->graphql query)

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.
raw docstring

remove-pathom-paramsclj/s

(remove-pathom-params params)

requestclj/s

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

schema-queryclj/s


service-mutation-keyclj/s

(service-mutation-key prefix)

service-resolver-keyclj/s

(service-resolver-key prefix)

type->field-entryclj/s

(type->field-entry prefix type)

type->field-nameclj/s

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

type-keyclj/s

(type-key prefix s)

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

× close