Skip to content

Commit

Permalink
Require id for maskOperation
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Nov 13, 2024
1 parent 70f2d60 commit 81c14b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ interface MaskFragmentOptions<TData> {
interface MaskOperationOptions<TData> {
document: DocumentNode;
data: TData;
id?: string;
id: string;
fetchPolicy?: WatchQueryFetchPolicy;
}

Expand Down Expand Up @@ -367,6 +367,7 @@ export class QueryManager<TStore> {
document: mutation,
data: storeResult.data,
fetchPolicy,
id: `m${mutationId}`,
}) as any,
});
}
Expand Down

0 comments on commit 81c14b3

Please sign in to comment.