Instead of adding new features to the library, create a core library and provide extra functionality in the form of plugins. This would require breaking changes to the public API.
Proposed changes:
create a core package @nestjs-cls/core with default functionality
create a plugin API in core
remove Proxy providers from core and move them to @nestjs-cls/proxy
Instead of adding new features to the library, create a core library and provide extra functionality in the form of plugins. This would require breaking changes to the public API.
Proposed changes:
@nestjs-cls/core
with default functionality@nestjs-cls/proxy