by hueho · 9mo ago · 0 comments
My understanding is that just offering a request object with lazy accessors would solve this issue, although the accessor itself would have some overhead in repeat accesses.
> Elysia has two special optimizations for response mapping functions: mapResponse and mapCompactResponse.
This section feels a bit abstract - some transformation examples would be nice.
The overhead can be reduced with caching. Frameworks like Java Vertx (used by Quarkus) already do it this way?