I'm running a dev instance of Metabase in a vscode remote container as per the instructions here.
I can start the backend up, and generally work on it via the REPL. That part's familiar and seem to work. I can run using clojure -M:dev:drivers:drivers-dev:nrepl, which I understand loads the modules/drivers deps into the classpath. This seems to work, but once I've made changes to the driver, I can't work out (without restarting everything) how to update the code the backend is using, nor can I get it to be reflected in the front end.
I have these questions:
is a repl-driven workflow possible for driver development, or do I have to rebuild each time?
if so, how do I "hot update" the loaded custom backend drivers?
and, how do I get the frontend to reflect any changes made to the back-end (if any are required)?
I've mod'ed the project to use deps.edn. The code's picking up the Databricks driver's metabase-plugin.yaml, but currently having classpath issues reading the driver code
When you say:
You'll currently have to restart
Is that just the backend, or do I need to bounce everything?
@danp Yeah, you'll need to re-write the driver to 41-style (out with yaml, in with edn)
It should just be the backend, but that depends on how you're running the frontend. Though, driver development sometimes needs frontend reload because it doesn't correctly understand those changes.
We're trying to make this a better experience for everyone (including ourselves).