honeysql

Discussion of https://github.com/seancorfield/honeysql :slightly_smiling_face:
seancorfield 2021-05-11T05:56:31.271Z

com.github.seancorfield/honeysql {:mvn/version "2.0.0-rc2"}https://github.com/seancorfield/honeysql/releases/tag/v2.0.0-rc2 — bug fixes for JOIN, % function syntax (thanks to @zugnush), more control over quoted entity rendering.

👏 2
1
2
2021-05-11T06:55:33.271700Z

Just tried out 2.0.0-rc2; and it indeed fixes my issue. Epic 🙂 Thanks again

1
2021-05-11T07:03:33.274100Z

Another question, I noticed :%coalesce.a/id.b/id.c/id will format correctly in 2.0.0-rc2; But because it's not a valid keyword, Cursive prevents me from sending the form to the repl. Is there an alternative without resorting to :raw :thinking_face:?

seancorfield 2021-05-11T16:24:28.275900Z

You can either a) (keyword "%coalesce.a/id.b/id.c/id") or b) '%coalesce.a/id.b/id.c/id -- since symbols work as well as keywords (but the latter may be illegal for Cursive too?).

1
seancorfield 2021-05-11T16:47:06.276700Z

FWIW, that keyword is just plain old illegal in ClojureScript, so even in the test suite I have to construct it programmatically by calling keyword.

😅 1
2021-05-11T16:52:19.277Z

That works, Thanks. Cursive indeed triggers the same "syntax error" on the symbol.