What problem would this feature solve?
Enables cross-cutting concerns (like logging, validation, or caching) to be handled in a clean, reusable way, improving code organization and maintainability.
Proposed solution or design
Add support for method/class-level interceptors using decorators like @Interceptor and @UseInterceptors. Allow global or per-service interceptors, implemented via proxies.
Additional context
See the NexusDI Roadmap: Interceptors / Middleware for more details and examples.
What problem would this feature solve?
Enables cross-cutting concerns (like logging, validation, or caching) to be handled in a clean, reusable way, improving code organization and maintainability.
Proposed solution or design
Add support for method/class-level interceptors using decorators like
@Interceptorand@UseInterceptors. Allow global or per-service interceptors, implemented via proxies.Additional context
See the NexusDI Roadmap: Interceptors / Middleware for more details and examples.