Skip to content
Discussion options

You must be logged in to vote

Hi @Lizzard-Galaxy! I'm Dosu and I’m helping the openapi-ts team.

You can customize the generated function names in the @tanstack/react-query plugin by using the .name and .case options in the plugin configuration. This applies to queryOptions, mutationOptions, infiniteQueryOptions, queryKeys, and infiniteQueryKeys. For example, you can set a custom suffix or change the casing pattern for the generated functions. See the official documentation for details and configuration examples: heyapi.dev/openapi-ts/plugins/tanstack-query.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrlubos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant