Open History to see the last commit
1---
2id: InjectMutationOptions
3title: InjectMutationOptions
4---
5β
6# Interface: InjectMutationOptions
7β
8Defined in: [inject-mutation.ts:28](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-mutation.ts#L28)
9β
10## Properties
11β
12### injector?
13β
14```ts
15optional injector: Injector;
16```
17β
18Defined in: [inject-mutation.ts:34](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-mutation.ts#L34)
19β
20The `Injector` in which to create the mutation.
21β
22If this is not provided, the current injection context will be used instead (via `inject`).