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 ^

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?