Fork me on GitHub

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 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.


Gotcha. Makes sense. Thanks, Malcolm!


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?