-
Notifications
You must be signed in to change notification settings - Fork 42
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
Convert to cljc and reader conditionals #59
Conversation
So am I correct in saying that the goal here is that I would suggest maybe adding a |
I need to check this, but I'm pretty sure we won't need to modify |
Regex's aren't being used anymore on the shared path after b1433fa. |
- query - query-builder - utils Update CHANGELOG
Convert to cljc and reader conditionals
I've merged this into master. There are however a few caveats:
I'll open tickets to fix these separately. |
I suppose it depends on if you want to call Great work, btw. |
I haven't really looked at fn, what's the difference between doing it on the client or server? |
Nothing much, its just a question of do you want to prepare the query as much as possible (ie the AST is as baked and prepared as possible) or if you just care that the representation is captured. If you don't want to, say, store the most processed form of a query ready to send to the RethinkDB server and only care that you can create queries from cljs (and store them or whatever), then no changes are necessary. All I suspect the answer is that you just want to be able to generate the query in cljs but don't care that (slightly) more processing is needed before running the query :) so I don't think anything needs to be done. I just wanted to check to be sure. |
Right, makes sense. Probably just as easy to leave it to be done on the server, it should have an added benefit of being slightly easier to debug if we have variable names in them. |
Agreed. Like I said, I just wanted to make sure it was thought about. I don't mind which way you choose, but you're right that doing it on the server would be better for debugging, so lets do that. |
Hello guys, sorry if I write in a closed issue, but how to start with ClojureScript? I tried |
A patch would be great. |
New attempt, based on #26.
order-by
query term in cljs #65order-by
query term in cljs #65rethinkdb.query/fn
in CLJS #64