You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your deduction of the bug is spot on: the argument to :clause-order-fn is the base clause order so it has already been derefed and passed in before register-clause! does its thing.
Let me know if it actually solves the problem for you without introducing any new problems! There should be a new SNAPSHOT you can depend on from Clojars or you can test against git deps.
Then from the next call on it'd succeed.
honeysql/src/honey/sql.cljc
Lines 107 to 110 in 23be700
Maybe the :clause-order-fn is called at the wrong time and/or the clause dictionary is deref'd before it so it's not updated for the first call?
Workaround
The text was updated successfully, but these errors were encountered: