Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

InjectMutationOptions.md

16 lines694 Bytes

1---
2id: InjectMutationOptions
3title: InjectMutationOptions
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8Defined in: [packages/angular-query-experimental/src/inject-mutation.ts:31](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-mutation.ts#L31)
9​
10Options for `injectMutation`, passed after the function that returns the mutation options.
11​
12## Properties
13​
14| Property | Type | Description |
15| ------ | ------ | ------ |
16| <a id="property-injector"></a> `injector?` | `Injector` | The `Injector` in which to create the mutation. If this is not provided, the current injection context will be used instead (via `inject`). |