Skip to content

Commit a3d1ae1

Browse files
authored
Merge pull request #1843 from Matsuuu/patch-1
2 parents 8e64bb3 + 7094a61 commit a3d1ae1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/openapi-ts/plugins/tanstack-query.md

+9
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@ const { data, error } = useInfiniteQuery({
142142
});
143143
```
144144

145+
Infinite queries are recognized by having one of these keywords in the endpoint's parameters:
146+
147+
- after
148+
- before
149+
- cursor
150+
- offset
151+
- page
152+
- start
153+
145154
## Mutations
146155

147156
Mutations are generated from DELETE, PATCH, POST, and PUT endpoints. The generated functions follow the naming convention of SDK functions and append `Mutation`, e.g. `addPetMutation()`.

0 commit comments

Comments
 (0)