Skip to content

refactor(common): log a warning when a JsonPipe receives a signal#66993

Open
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:jsonpipe/signals
Open

refactor(common): log a warning when a JsonPipe receives a signal#66993
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:jsonpipe/signals

Conversation

@JeanMeche
Copy link
Member

@JeanMeche JeanMeche commented Feb 10, 2026

The JsonPipe does not unwrap signals and JSON.stringify will return undefined for signals.
To avoid confusion, we log a warning when a signal is passed to the pipe.

@JeanMeche JeanMeche requested a review from crisbeto February 10, 2026 14:05
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: common Issues related to APIs in the @angular/common package labels Feb 10, 2026
@ngbot ngbot bot added this to the Backlog milestone Feb 10, 2026
@JeanMeche JeanMeche added the target: patch This PR is targeted for the next patch release label Feb 13, 2026
@JeanMeche JeanMeche changed the title feat(common): unwrap signals in json pipe. refactor(common): log a warning when a JsonPipe receives a signal Feb 13, 2026
The JsonPipe does not unwrap signals and `JSON.stringify` will return `undefined` for signals.
To avoid confusion, we log a warning when a signal is passed to the pipe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: common Issues related to APIs in the @angular/common package detected: feature PR contains a feature commit target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants