Forbid custom decorators in local compilation mode#53983
Forbid custom decorators in local compilation mode#53983pmvald wants to merge 1 commit intoangular:mainfrom
Conversation
|
What would be the benefit of forbidding custom decorators? We use decorators to put our components (with meta information) into registries, which in turn are used for completely dynamic json based custom templates |
Local compilation is a feature that is used internally at Google so it doesn't affect how we build Angular apps. |
b6a32a4 to
7949ced
Compare
devversion
left a comment
There was a problem hiding this comment.
LGTM conceptually, just some nits
…ompilation mode At the moment local compilation mode does not support custom decorators, and it leads to unhandled errors. In this change a compile time diagnostic is produced in local mode for custom decorators. This is a temporary solution since there are few custom decorators are in use in g3. Custom decorators will be eventually supported in local mode.
7949ced to
a8ee355
Compare
|
This PR was merged into the repository by commit 0970129. |
…ompilation mode (angular#53983) At the moment local compilation mode does not support custom decorators, and it leads to unhandled errors. In this change a compile time diagnostic is produced in local mode for custom decorators. This is a temporary solution since there are few custom decorators are in use in g3. Custom decorators will be eventually supported in local mode. PR Close angular#53983
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Eventually we will support custom decorators in local compilation mode. But for now we forbid it since there are little usage of it in g3.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information