honeysql

Discussion of https://github.com/seancorfield/honeysql :slightly_smiling_face:
Yehonathan Sharvit 2020-12-18T03:52:34.261300Z

I am really curious to discover injection inherently rely on string concatenation or not

seancorfield 2020-12-18T03:54:16.261500Z

Well, {:inline true} is string concatenation.

Yehonathan Sharvit 2020-12-18T04:33:21.262600Z

@seancorfield Another question related to V2.: Will it have breaking changes? In particular I need to know if the honeysql map syntax is going to change

seancorfield 2020-12-18T04:56:43.266900Z

@viebel Yes and no. The intent is that the raw map syntax should remain the same. The weird reader literals and associated function calls are going away, replaced by new "built-in functions/operators" (which are much more easily extensible). The SQL covered should expand greatly too -- v2 supports dialects and not just ANSI SQL. The API is somewhat different -- format takes an options hash map, not named parameters, and the options are mostly new names. In addition, the coordinates will be different -- so you can have V1 and V2 on your classpath -- and they have different namespaces too -- so you can have V1 and V2 in the same file and migrate query by query if you want to.

Yehonathan Sharvit 2020-12-18T08:57:34.267100Z

Awesome!