nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
Marc O'Morain 2018-11-23T11:05:55.229800Z

I’m doing some work with Calva parsing test results, and I’m wondering if there are any docs on the return values from cider.nrepl.middleware.test https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/test.clj I’m currently trying to reverse engineer from the code. Is there a better way?

pez 2018-11-23T12:23:17.230700Z

Are you fixing bugs or trying to parse something Calva does not already implement?

Marc O'Morain 2018-11-25T22:01:05.236600Z

Neither - I was trying to add types to the response message rather than leaving them as bare objects, so that I could leverage more of TypeScript to help me deal with the test results. I went way too far down a rabbit hole - https://github.com/BetterThanTomorrow/calva/pull/88/files#diff-55e125b5407ed6ce11e002a28b4aef0aR285

pez 2018-11-26T00:03:45.236800Z

Looks like you are about to fix the issues with the test runner. πŸ˜ƒ Now, I must sleep some. πŸ’€

bozhidar 2018-11-23T15:09:40.231700Z

@marc-omorain The middleware descriptor explains the middleware ops and their return values. We don’t have anything better in terms of documentation currently.

Marc O'Morain 2018-11-25T13:55:26.233200Z

Thanks πŸ™

dominicm 2018-11-23T16:23:23.232100Z

I might have written documentation

Marc O'Morain 2018-11-25T18:18:51.233500Z

Thank you πŸ™

dominicm 2018-11-25T18:44:04.235200Z

Those are a little out of date, now that there's a new query system