Liking cljdoc? Tell your friends :D
All platforms.

com.yetanalytics.flint.validate.bnode


validate-bnodesclj/s

(validate-bnodes node-m)
(validate-bnodes prev-bnodes node-m)

Given the map node-m between nodes and zipper locs, validate that all bnodes satisfy the following conditions:

  • They cannot be duplicated in different Basic Graph Patterns (BGPs).
  • They cannot be duplicated across different Updates in a request.

Returns a pair between the union of prev-bnodes and the bnodes in node-m, and a nilable error map.

Given the map `node-m` between nodes and zipper locs, validate that
all bnodes satisfy the following conditions:

- They cannot be duplicated in different Basic Graph Patterns (BGPs).
- They cannot be duplicated across different Updates in a request.

Returns a pair between the union of `prev-bnodes` and the bnodes in
`node-m`, and a nilable error map.
sourceraw docstring

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

× close