Fork me on GitHub
#honeysql
<
2021-05-11
>
seancorfield05:05:31

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.

party-corgi 6
👏 6
3
thumbnail07:05:33

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:?

seancorfield16:05:28

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?).

3
thumbnail16:05:19

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

seancorfield16:05:06

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.

😅 3