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
feat(context): add @bind
to decorate classes with binding attributes
#2129
Conversation
@bind
to decorate classes with more information@bind
to decorate classes with binding attributes
cf4e5a1
to
bda048b
Compare
I read through the documentation, the proposal looks good at high level. I'll try to find time to review it in more details later this week. In the meantime, I'd like people from @strongloop/loopback-maintainers and especially @strongloop/sq-lb-apex to review these changes too. |
bda048b
to
891ea0d
Compare
2a44d96
to
8d9ebcd
Compare
@bajtos PTAL |
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.
LGTM.
Please get at least one more approval from @strongloop/loopback-maintainers before landing.
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.
Some comments for tests in general (I'll review impl in another round). LGTM overall.
# Feature: @bind for classes representing various artifacts | ||
|
||
- In order to automatically bind classes for various artifacts to a context | ||
- As a developer |
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.
Did we want the bullet points here? Or do we want to say something like As a developer, I want to decorate my classes to provide more metadata so that the bootstrapper can bind them to a context according to the metadata in order to automatically bind classes for various artifacts to a context.
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.
I follow other acceptance md files.
8d9ebcd
to
c93ce0a
Compare
@b-admike Thank you for the review comments. I have addressed most of them. |
This PR is a reactivation of #992.
Checklist
npm test
passes on your machinepackages/cli
were updatedexamples/*
were updated