New namespace per session in nREPL

25 views
Skip to first unread message

Arkadiusz Komarzewski

unread,
Apr 17, 2014, 1:05:18 PM4/17/14
to clojur...@googlegroups.com
Hello,

I would like to let multiple users use single nrepl server. One problem I noticed is that after connecting you are by default put in 'user' namespace. I am looking for a way to configure nrepl server in a way it will assign new namespace (let's say random-generated) for each session.

Are there any existing solutions for that?

So far I (after browsing nrepl source) I think I would have to write my own session middleware, which would handle creation of new namespaces per session. Is this the correct approach?

Cheers,
Arek
Reply all
Reply to author
Forward
0 new messages