Liking cljdoc? Tell your friends :D
All platforms.

oksa.core


explainclj/s

(explain x)

Explains x using malli.core/explain.

Expects x to be a malli-like vector.

Explains `x` using `malli.core/explain`.

Expects `x` to be a malli-like vector.
sourceraw docstring

gqlclj/s

(gql & objs)

Attempts to produce a GraphQL request string from objs.

Expects objs to either be instance(s) of oksa.alpha.protocol/Representable or malli-like vector(s).

See oksa.alpha.api/api, README.md, or tests for examples.

Attempts to produce a GraphQL request string from `objs`.

Expects `objs` to either be instance(s) of `oksa.alpha.protocol/Representable` or malli-like vector(s).

See `oksa.alpha.api/api`, `README.md`, or tests for examples.
sourceraw docstring

gql*clj/s

(gql* opts & objs)

Attempts to produce a GraphQL request string from objs.

Expects objs to either be instance(s) of oksa.alpha.protocol/Representable or malli-like vector(s).

opts is an (optional) map and uses the following fields here:

fielddescription
:oksa/name-fnSingle-arg fn that applies fn to all names.
---------------------------------------------------------------------------------------------------------
:oksa/field-fnSingle-arg fn that applies fn to all fields.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/enum-fnSingle-arg fn that applies fn to all enums.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/directive-fnSingle-arg fn that applies fn to all directives.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/type-fnSingle-arg fn that applies fn to all types.
Overrides :oksa/name-fn.

See oksa.alpha.api/api, README.md, or tests for examples.

Attempts to produce a GraphQL request string from `objs`.

Expects `objs` to either be instance(s) of `oksa.alpha.protocol/Representable` or malli-like vector(s).

`opts` is an (optional) map and uses the following fields here:

| field                 | description                                                                      |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/name-fn`       | Single-arg fn that applies fn to all names.                                      |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/field-fn`      | Single-arg fn that applies fn to all fields.                                     |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/enum-fn`       | Single-arg fn that applies fn to all enums.                                      |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/directive-fn`  | Single-arg fn that applies fn to all directives.                                 |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/type-fn`       | Single-arg fn that applies fn to all types.                                      |
|                       | Overrides :oksa/name-fn.                                                         |

See `oksa.alpha.api/api`, `README.md`, or tests for examples.
sourceraw docstring

unparseclj/s

(unparse x)
(unparse opts x)

Attempts to parse x and produce a GraphQL request string.

opts is an (optional) map and uses the following fields here:

fielddescription
:oksa/name-fnSingle-arg fn that applies fn to all names.
---------------------------------------------------------------------------------------------------------
:oksa/field-fnSingle-arg fn that applies fn to all fields.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/enum-fnSingle-arg fn that applies fn to all enums.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/directive-fnSingle-arg fn that applies fn to all directives.
Overrides :oksa/name-fn.
---------------------------------------------------------------------------------------------------------
:oksa/type-fnSingle-arg fn that applies fn to all types.
Overrides :oksa/name-fn.

Expects x to be a malli-like vector.

Attempts to parse `x` and produce a GraphQL request string.

`opts` is an (optional) map and uses the following fields here:

| field                 | description                                                                      |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/name-fn`       | Single-arg fn that applies fn to all names.                                      |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/field-fn`      | Single-arg fn that applies fn to all fields.                                     |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/enum-fn`       | Single-arg fn that applies fn to all enums.                                      |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/directive-fn`  | Single-arg fn that applies fn to all directives.                                 |
|                       | Overrides :oksa/name-fn.                                                         |
|-----------------------|----------------------------------------------------------------------------------|
| `:oksa/type-fn`       | Single-arg fn that applies fn to all types.                                      |
|                       | Overrides :oksa/name-fn.                                                         |

Expects `x` to be a malli-like vector.
sourceraw docstring

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

× close