Skip to content

feat(signals): add ability to pass arrays of updaters to patchState #4799

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

Closed
wants to merge 1 commit into from

Conversation

MillerSvt
Copy link

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

We should use spread operator to unwrap arrays of updaters.

Closes #4783

What is the new behavior?

We can pass arrays of updaters as is.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Copy link

netlify bot commented May 27, 2025

Deploy Preview for ngrx-io canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 8466247
🔍 Latest deploy log https://app.netlify.com/projects/ngrx-io/deploys/68357517283b480008f2eb0d

Copy link

netlify bot commented May 27, 2025

Deploy Preview for ngrx-site-v19 failed.

Name Link
🔨 Latest commit 8466247
🔍 Latest deploy log https://app.netlify.com/projects/ngrx-site-v19/deploys/68357517312884000885020f

@markostanimirovic
Copy link
Member

#4786 (comment)

@MillerSvt MillerSvt deleted the flat-patch-state branch May 28, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@ngrx/signals: add utility to merge multiple updaters
2 participants