Liking cljdoc? Tell your friends :D
Mostly clj.
Exceptions indicated.

paren.serene


def-specsclj/s≠macro

clj
(def-specs schema)
(def-specs schema xform)
cljs
(def-specs &form &env schema)
(def-specs &form &env schema xform)

Takes a GraphQL schema and an optional transducer or options map/seq. Options/transducers are defined in paren.serene.compiler.transducers. The transducer will receive spec maps, as defined in paren.serene.compiler. Returns a topologically sorted vector of s/def forms. All arguments to def-specs are explicitly evaled.

Takes a GraphQL schema and an optional transducer or options map/seq.
Options/transducers are defined in `paren.serene.compiler.transducers`.
The transducer will receive spec maps, as defined in `paren.serene.compiler`.
Returns a topologically sorted vector of `s/def` forms.
All arguments to `def-specs` are explicitly `eval`ed.
source (clj)source (cljs)raw docstring

spit-specsclj

(spit-specs file ns schema)
(spit-specs file ns schema xform)

Takes a file or file path, a simple symbol, a GraphQL schema, and an optional transducer or options map/seq. Spits s/def forms defined by schema and modified by xform to file with namespace ns.

Takes a file or file path, a simple symbol, a GraphQL schema, and an optional transducer or options map/seq.
Spits `s/def` forms defined by `schema` and modified by `xform` to `file` with namespace `ns`.
sourceraw docstring

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

× close