talios / clojure-maven-plugin

Apache Maven Mojo for compiling clojure scripts to class files
252 stars 74 forks source link

nREPL support , missing edge case #118

Open danielsz opened 5 years ago

danielsz commented 5 years ago

In the current implementation of the nREPL support (ClojureNReplMojoj.java), I noticed that an edge case is missing. User in the list below refers to user of clojure-maven-plugin.

This is not a use case that comes up frequently, and it's possible to work around it, but it might be a good idea to handle it anyway.

danielsz commented 5 years ago

Or, instead of handling the case, throw an error to indicate that either a custom nREPL handler can be used, or user-supplied middleware, but not both at the same time.