mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6f4a39c337
BREAKING CHANGE
The @Parent annotation has been removed. Use @Ancestor instead.
@Parent was used to enforce a particular DOM structure (e.g., a pane component is a direct child of the tabs component).
DI is not the right mechanism to do it. We should enforce it using schema instead.