Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context to contain to-ref function #17

Open
den1k opened this issue Nov 8, 2017 · 0 comments
Open

Context to contain to-ref function #17

den1k opened this issue Nov 8, 2017 · 0 comments

Comments

@den1k
Copy link
Owner

den1k commented Nov 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant