dotansimha / dotansimha/graphql-code-generator-community

Feature Request: expose queryOptions of react-query v5

Open
#586 1 comment 9 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**

It would be a great addition to react-query if the `queryOptions` would be used and exposed by the generator

**Describe the solution you'd like**

Based on https://tanstack.com/query/latest/docs/react/guides/query-options a great way to compose queries is to use the `queryOption`. It would be ideal if this would be exposed at the generator level.

**Additional context**

A very nice write down from one of the maintainer about `queryOptions` is available here https://tkdodo.eu/blog/the-query-options-api

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.