subgraph icon indicating copy to clipboard operation
subgraph copied to clipboard

Context to contain `to-ref` function

Open den1k opened this issue 8 years ago • 0 comments

We're often faced with the unknown of wether a ref is a ref or whether we need to convert it. We've been using helper functions convert whatever is ref-convertible before calling pull. To avoid converting to refs over and over again it would be worthwhile to be able to pass a to-ref function to pull's context (today db-get-ref could be used as a hack).

https://github.com/vimsical/subgraph/blob/master/src/vimsical/subgraph.cljc#L408

den1k avatar Nov 08 '17 17:11 den1k