Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/angular-query-experimental/src/create-base-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
DestroyRef,
Injector,
NgZone,
VERSION,
computed,
effect,
inject,
Expand Down Expand Up @@ -97,7 +98,8 @@ export function createBaseQuery<
},
{
// Set allowSignalWrites to support Angular < v19
allowSignalWrites: true,
// Set to undefined to avoid warning on newer versions
allowSignalWrites: VERSION.major < '19' || undefined,
injector,
},
)
Expand Down
Loading