Once we figure out the exception middleware, I'll feel much better about
everything (since the relevant exception happens in tools.nrepl itself),
also, it would be nice to potentially just strip offending keys (and
logging them dynamically), rather than killing the whole message on an
error.

If we have to specify the structure of a response manually, that's
potentially a lot of duplication.


On Sat, May 17, 2014 at 10:42 AM, Gary Trakhman <gary.trakhman@gmail.com>wrote:

> Hrm.. yea, there's a tradeoff either way. I'll switch to a blacklist,
> simpler for now.
>
>
> On Sat, May 17, 2014 at 10:34 AM, Jeff <notifications@github.com> wrote:
>
>> In src/cider/nrepl/middleware/info.clj:
>>
>> > +  [info]
>> > +  (select-keys info
>> > +               [:added
>> > +                :arglists-str
>> > +                :candidates
>> > +                :column
>> > +                :doc
>> > +                :file
>> > +                :forms-str
>> > +                :javadoc
>> > +                :line
>> > +                :name
>> > +                :ns
>> > +                :resource
>> > +                :static]))
>> > +
>>
>> There are a more than this. There's also class, method, deprecated, macro,
>> and special-form...just off the top of my head.
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/clojure-emacs/cider-nrepl/pull/65/files#r12768752>
>> .
>>
>
>