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
Implement user land middleware #1529
Comments
@benjamin-asdf you should probably use |
I gave up https://faster-than-light-memes.xyz/meta-the-meta.html - just using a jvm repl for development is good. |
OK, let's just give up on this for now and recommend the JVM REPL for advanced REPL features. This also keeps the bb binary more lean and we don't have to port any cider middleware stuff. I might roll back the existing middleware commits in bb.nrepl as well to clean up the work that was half done in there. |
I think a nice (very optional, vacation-project-ish, super low priority) challenge might be to run the original nrepl completely in babashka, instead of having nrepl as a built-in:
:-) |
User land middleware
The reason we would like to have this is because it is a step towards cider middleware (and beyond) implementations on bb.
--middleware
arg to bb nrepl-serverI basically have the hard part working, loading a middleware in the sci context then passing that to the nrepl server as middleware.
What is left to do is adding the middleware arg to bb main, make examples and document.
Current Questions
(sci/resolve sci-ctx middleware)
where middleware is a symbol on the classpath (added via bb.edn, :local/root, -> deps.edn)but it doesn't resolve.
(sci-ctx is the one we start early in the
exec
function)The text was updated successfully, but these errors were encountered: