You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the dependency of inversify-binding-decorators library from the templates. Currently the only functionality in used from this library is the @provide decorator. All the other decorators such as @provideSingleton and @provideTransient
In this task, core will provide the decorators as an abstraction from inversify-bindings as we currently do for provide singleton and request.
The @provide decorators should be moved to the decorator folder in the core.
Before moving this piece of functionality, analyze other functionalities from the library such as:
Fluent api binding decorator
using provide multiple times
using symbols as identifies
creating alias
auto provide utility
Requirements
Objective: Eliminate the reliance on the inversify-binding-decorators library by incorporating the @provide decorator's functionality into the core module of the framework. Ensure all existing functionalities related to dependency injection and service provision are preserved and efficiently integrated into the core architecture.
Conduct a thorough review of the inversify-binding-decorators library, specifically focusing on:
The utility of additional decorators such as @provideSingleton and @provideTransient, ensuring these are already abstracted within the core.
Other features including fluent API binding, multiple uses of @provide, symbol as identifiers, alias creation, and the auto-provide utility.
Decorator Integration:
Migrate the @provide decorator to the core/decorator folder. Ensure this migration includes not just the relocation of code but also the adaptation of the decorator to fit the core module’s architecture and conventions.
Compatibility and Extension:
Design the integrated @provide decorator to be fully compatible with the core module’s existing dependency injection mechanisms.
Ensure the decorator supports all the analyzed functionalities from the inversify-binding-decorators library that are deemed necessary and beneficial for the core module.
Testing:
Develop comprehensive tests to verify the @provide decorator's functionality within the core module. Tests should cover:
Standard usage scenarios.
Advanced scenarios identified during the functionality analysis (e.g., using symbols as identifiers, creating aliases).
Compatibility with existing @provideSingleton and @provideTransient functionalities.
Documentation:
Update the project documentation to reflect the removal of the inversify-binding-decorators dependency and the integration of the @provide decorator into the core.
Provide clear examples and guidance on using the new core-based @provide decorator, including any new features or syntax introduced.
The text was updated successfully, but these errors were encountered:
Description
Remove the dependency of
inversify-binding-decorators library
from the templates. Currently the only functionality in used from this library is the@provide
decorator. All the other decorators such as@provideSingleton
and@provideTransient
In this task,
core
will provide the decorators as an abstraction from inversify-bindings as we currently do for provide singleton and request.The
@provide
decorators should be moved to thedecorator
folder in thecore
.Before moving this piece of functionality, analyze other functionalities from the library such as:
Requirements
Objective: Eliminate the reliance on the inversify-binding-decorators library by incorporating the @provide decorator's functionality into the core module of the framework. Ensure all existing functionalities related to dependency injection and service provision are preserved and efficiently integrated into the core architecture.
Conduct a thorough review of the inversify-binding-decorators library, specifically focusing on:
@provide
decorator to the core/decorator folder. Ensure this migration includes not just the relocation of code but also the adaptation of the decorator to fit the core module’s architecture and conventions.Compatibility and Extension:
Testing:
Standard usage scenarios.
Documentation:
The text was updated successfully, but these errors were encountered: