transportLayerOptions is a breaking a bit the separation of concerns, introducing HTTP concepts in the scope of the Kurier application, which should be transport-layer agnostic. We should allow the middlewares by themselves to be configured.
Isn't this a middleware concern? It's kinda weird to be defined on Application.
transportLayerOptions
is a breaking a bit the separation of concerns, introducing HTTP concepts in the scope of the Kurier application, which should be transport-layer agnostic. We should allow the middlewares by themselves to be configured._Originally posted by @isBatak in https://github.com/kurierjs/kurier/pull/292#discussion_r657832321_