query icon indicating copy to clipboard operation
query copied to clipboard

A mutationKey with input signals causes ngZone errors

Open AndreasNienhaus opened this issue 2 months ago • 0 comments

Describe the bug

Hello together,

using input signals in a mutationKey causes this errors.

Your minimal, reproducible example

https://stackblitz.com/edit/stackblitz-starters-dum4vuxa?file=package.json,src%2Fmain.ts,src%2Findex.html

Steps to reproduce

  1. Open console
  2. See bugs

Expected behavior

Using input signals in mutationKey or any other property within injectXXX should cause not ngZone bug.

How often does this bug happen?

Every time

Screenshots or Videos

Image

Platform

"@angular/core": "^19.2.10", Chrome: 42.0.7444.176

Tanstack Query adapter

angular-query

TanStack Query version

v5.90.15

TypeScript version

v5.8.3

Additional context

No response

AndreasNienhaus avatar Dec 03 '25 10:12 AndreasNienhaus