Skip to content

fix(ivy): pass schemas field to nested views - #31913

Closed
AndrewKushnir wants to merge 1 commit into
angular:masterfrom
AndrewKushnir:FW-1492_schemas_for_nested_templates
Closed

AndrewKushnir wants to merge 1 commit into
angular:masterfrom
AndrewKushnir:FW-1492_schemas_for_nested_templates

Conversation

@AndrewKushnir

Copy link
Copy Markdown
Contributor

Prior to this commit, the schemas configuration was applied to top-level view only. That leads to problems when using unknown props with elements inside nested views (for example generated as a result of *ngIf). This commit passes schemas information down to nested views to make sure that all the checks are consistent.

This PR resolves FW-1492.

PR Type

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • Yes
  • No

Prior to this commit, the `schemas` configuration was applied to top-level view only. That leads to problems when using unknown props with elements inside nested views (for example generated as a result of *ngIf). This commit passes `schemas` information down to nested views to make sure that all the checks are consistent.
@AndrewKushnir AndrewKushnir added type: bug/fix action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release comp: ivy labels Jul 30, 2019
@AndrewKushnir
AndrewKushnir requested a review from a team July 30, 2019 19:37
@ngbot ngbot Bot modified the milestone: needsTriage Jul 30, 2019

@pkozlowski-opensource pkozlowski-opensource left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (assuming CI is green)

@AndrewKushnir AndrewKushnir added the action: presubmit The PR is in need of a google3 presubmit label Jul 30, 2019
@AndrewKushnir

AndrewKushnir commented Jul 30, 2019 •

Copy link
Copy Markdown
Contributor Author

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker and removed action: presubmit The PR is in need of a google3 presubmit action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 31, 2019
@alxhub alxhub closed this in d0d875a Aug 1, 2019
sabeersulaiman pushed a commit to sabeersulaiman/angular that referenced this pull request Sep 6, 2019
Prior to this commit, the `schemas` configuration was applied to top-level view only. That leads to problems when using unknown props with elements inside nested views (for example generated as a result of *ngIf). This commit passes `schemas` information down to nested views to make sure that all the checks are consistent.

PR Close angular#31913
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes target: major This PR is targeted for the next major release type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants