-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Error formatting HoneySQL that has nested metadata #537
Comments
* Bump dependencies * Don't upgrade CodeCov * Don't upgrade Honey SQL yet until we fix seancorfield/honeysql#537
I have some work planned around metadata soon, so I'll roll this into it. I guess with cloverage you can't get at the option that tells HoneySQL to ignore |
Back at my desk, so I can give a more detailed answer. Right now, HoneySQL assumes it can call |
See if the head of |
Hey @seancorfield I gave that a try and it seems to work. Thanks for the quick fix! |
Hi Sean, sorry to bother you with nonsense, but after bumping my Honey SQL version to the latest I'm running into issues running tests with Cloverage because it adds an
:original
key to metadata for instruments forms, and:original
itself has:line
/:column
/:end-line
/:end-column
metadata.Here's a repro for the error:
I enabled tracing on a few vars and
*print-meta*
and this is the failing callHow would you feel about updating
honeysql/src/honey/sql.cljc
Lines 558 to 576 in a3ef215
to recursively ignore metadata inside metadata to handle weird edge cases like this? I can submit a PR if you'd like.
Thanks!
The text was updated successfully, but these errors were encountered: