Skip to content

feat(core): expose signal input metadata in ComponentMirror - #56402

Closed
devversion wants to merge 2 commits into
angular:mainfrom
devversion:feat-expose-signal-input-info
Closed

devversion wants to merge 2 commits into
angular:mainfrom
devversion:feat-expose-signal-input-info

Conversation

@devversion

Copy link
Copy Markdown
Member

This commit starts exposing isSignal for inputs in the ComponentMirror. We initially had this as a draft when rolling out signal inputs, but there were no good use-cases, so we skipped it.

Now, inside G3, for the testing infrastructure and rolling out advancements for signal inputs, having this information is necessary and allows identifying signal inputs without "accessing fields" on the class that may cause side-effects (like triggering setters).

@angular-robot angular-robot Bot added the detected: feature PR contains a feature commit label Jun 12, 2024
This commit starts exposing `isSignal` for inputs in the
`ComponentMirror`. We initially had this as a draft when rolling out
signal inputs, but there were no good use-cases, so we skipped it.

Now, inside G3, for the testing infrastructure and rolling out
advancements for signal inputs, having this information is necessary and
allows identifying signal inputs without "accessing fields" on the class
that may cause side-effects (like triggering setters).
@devversion
devversion force-pushed the feat-expose-signal-input-info branch from 4752974 to cdedd52 Compare June 12, 2024 13:04
@devversion devversion changed the title feat(core): expose signal input metadata in ComponentMirror. feat(core): expose signal input metadata in ComponentMirror Jun 12, 2024
@devversion
devversion requested a review from crisbeto June 12, 2024 13:21
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jun 12, 2024
@devversion
devversion marked this pull request as ready for review June 12, 2024 13:21
Comment thread packages/core/src/render3/component_ref.ts Outdated
@devversion
devversion requested review from thePunderWoman and removed request for pkozlowski-opensource June 12, 2024 17:43

@thePunderWoman thePunderWoman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

reviewed-for: fw-core, fw-elements, public-api

@pullapprove
pullapprove Bot requested a review from atscott June 12, 2024 18:43

@atscott atscott left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

reviewed-for: public-api

@AndrewKushnir
AndrewKushnir removed their request for review June 12, 2024 18:52
@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 12, 2024
@devversion
devversion removed the request for review from alxhub June 12, 2024 20:36
@AndrewKushnir

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 352e078.

The changes were merged into the following branches: main

@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 Jul 14, 2024
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 detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants