-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] feat(context): add @injectable
to decorate bindable classes
#992
Conversation
1c8cf6d
to
3d7e1bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add acceptance tests showing how do you envision the integration of this feature with the application and the bootstrapper. How are we going to discover all types/classes decorated with @injectable
?
packages/context/src/injectable.ts
Outdated
* - server | ||
* - class (default) | ||
*/ | ||
type?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please capture the valid values in the type definition.
type?: 'controller' | 'repository' | 'component' | // etc.
c4fcc09
to
03fd769
Compare
96237b4
to
0382152
Compare
0382152
to
c470bfa
Compare
979a428
to
c8cdd80
Compare
c8cdd80
to
d1f5b59
Compare
There have been no updates in this pull request for many months, I am closing it for now. @raymondfeng feel free to reopen if you get time to continue this work. (Considering how outdated these changes are, it may be better to start from scratch.) |
Implements #958
Checklist
npm test
passes on your machinepackages/cli
were updatedpackages/example-*
were updated