-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Thank you for this fantastic smart cell. I'm currently using it to generate interactive API documentation for my client, and they are gonna be thrilled.
I did find that, at least on my system, the latest version of Merquery is unable to load previously created smart cells after closing and re-opening a Livebook. I am running Livebook 0.15.5 with Elixir 1.18.1, OTP 26. After a bit of debugging, I was able to figure out that the last commit of Merquery it would have worked on was likely faf4363. The problem is that, on the commit after this, Merquery.SmartCell.init/2 starts pattern matching on a map with atom keys, but the function is given a map with string keys.
My fix to keep my project moving was to lock Merquery to this version:
Mix.install([
{:merquery, github: "acalejos/merquery", ref: "faf4363"}
])I don't have a fix for the latest version as I'm on a deadline and must keep moving, but I wanted to bring the issue to your attention in hopefully as helpful a way as I can, and maybe help others searching who are trying to add this smart cell to their Livebooks and come against the same problem.
Thanks again for this lovely piece of Livebook functionality!