query
query copied to clipboard
A mutationKey with input signals causes ngZone errors
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
- Open console
- 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
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