(def-specs schema)
(def-specs schema xform)
(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 eval
ed.
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.
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close