yada

malcolmsparks 2021-04-16T13:16:53.017100Z

I think it's perfectly OK to use whatever middleware including Reitit middleware that makes sense in your application. What I'm arguing for is that you should use the same set of middleware if you want to achieve the 'uniform interface' constraint of REST. The set of middleware I'm proposing in the talk and rest.guide is designed to be used together, in a particular order, to achieve conformance. I'll try to specify the 'rules' for each step so it's clear what the semantics are of each step. That will make it easier to replace parts of the chain with other middleware.

malcolmsparks 2021-04-16T13:17:13.017300Z

@tkjone ^

malcolmsparks 2021-04-16T13:20:22.017400Z

yada is only getting critical fixes, at least from me - and I'm not 100% certain of the maintenance status these days of aleph. If it's working great for you I'm sure it will continue to do so - http is a slow moving tech. Presumably you are extending yada yourself for security headers, etc.

borkdude 2021-04-16T13:21:04.017600Z

Makes sense. aleph has been moved to clj-commons

malcolmsparks 2021-04-16T13:21:12.017800Z

Part of the reason I've been working on a new collection of projects is so that I don't make substantial changes to yada and break stuff accidentally.

borkdude 2021-04-16T13:22:15.018Z

I think we will keep using it as it's working well for us. Rewriting to something else wouldn't really justify solving a real problem that we have, even for a new similar big project.

athomasoriginal 2021-04-16T14:39:04.019Z

Gotcha. Makes sense. Thanks, Malcolm!

borkdude 2021-04-16T15:16:40.020100Z

We want to add integration for ElasticSearch APM with yada. But there are some difficulties: APM couples a transaction to a thread it seems and yada requests/responses can be handled on different thread. Has anyone else done this?

borkdude 2021-04-16T15:17:07.020400Z

Perhaps @dominicm?