Skip to content

Commit 49c9c3a

Browse files
authored
Merge pull request #532 from chshanovskiy/master
Update createJsonQuery and createJsonMutation docs
2 parents ff7ed39 + 6ee3226 commit 49c9c3a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/website/docs/api/factories/create_json_mutation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Config fields:
88

99
- `params?`: parameters for the [_Mutation_](/api/primitives/mutation)
1010

11-
- You can declare [_Mutation_](/api/primitives/mutation) parameters by call `declareParams` function.
11+
- You can declare [_Mutation_](/api/primitives/mutation) parameters by call [`declareParams`](/tutorial/built_in_mutation_factories#parameters-declaration) function.
1212
- If not passed, [_Mutation_](/api/primitives/mutation) will be created without parameters.
1313

1414
- `request`: declarative rules to formulate request to the API.

apps/website/docs/api/factories/create_json_query.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Config fields:
88

99
- `params?`: parameters for the [_Query_](/api/primitives/query)
1010

11-
- You can declare [_Query_](/api/primitives/query) parameters by call `declareParams` function.
11+
- You can declare [_Query_](/api/primitives/query) parameters by call [`declareParams`](/tutorial/built_in_query_factories#parameters-declaration) function.
1212
- If not passed, [_Query_](/api/primitives/query) will be created without parameters.
1313

1414
- `initialData?`: initial data of the [_Query_](/api/primitives/query), will be passed to the `$data` store as an initial value

apps/website/docs/tutorial/built_in_mutation_factories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const loginMutation = createJsonMutation({
3333

3434
### Parameters declaration
3535

36-
Parameters declaration is the same as in `createJsonQuery`, it is literally the same function.
36+
Parameters declaration is the same as in [`createJsonQuery`](/tutorial/built_in_query_factories#parameters-declaration), it is literally the same function.
3737

3838
### Request
3939

0 commit comments

Comments
 (0)