Liking cljdoc? Tell your friends :D

hql.core

Express GraphQL queries using clojure data structures.

Example:

HQL

[[:user
  [[:id]
   [:name]
   [:profilePic {:size 300}]]]]

GRAPHQL

 {
   user {
     id
     name
     profilePic(size: 300)
    }
  }
### Express GraphQL queries using clojure data structures.

#### Example:

#### HQL

```Clojure  
[[:user
  [[:id]
   [:name]
   [:profilePic {:size 300}]]]]
```

#### GRAPHQL
```Javascript
 {
   user {
     id
     name
     profilePic(size: 300)
    }
  }
```
raw docstring

argmap->argsclj

(argmap->args args)

Takes a map and converts it into args Ex: {:id 10, :size 300} -> (id)

Takes a map and converts it into args
Ex: {:id 10, :size 300} -> (id)
sourceraw docstring

executablecljmultimethod

source

fieldclj

(field {fname :name args :args alias :alias ss :selection-set})
source

field-with-aliasclj

(field-with-alias f alias)
source

fname-with-argsclj

(fname-with-args fname args)
source

fragmentclj

(fragment {fragment :fragment fname :name cond :condition ss :selection-set})
source

graphqlclj

(graphql q)
source

op-with-varsclj

(op-with-vars optype opname vars)
source

operationclj

(operation {optype :type opname :name vars :variables ss :selection-set})
source

parsed-argclj

(parsed-arg [t v])
source

selectioncljmultimethod

source

selection-setclj

(selection-set ss)
source

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

× close