This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Explore using immutable objects for various hooks #138
Open
Description
One of the problems with middleware is that it makes it hard to reason about where changes to request metadata come from.
This router will have the same problem with its "pipeline," which is effectively middleware.
I'd like to explore having a "dev mode," that enforces immutability with Object.freeze
, that could be turned off in production for a perf boost.