Skip to content

packages/openapi-react-query: Update createClient documentation#2655

Open
arnitdo wants to merge 1 commit intoopenapi-ts:mainfrom
arnitdo:patch-1
Open

packages/openapi-react-query: Update createClient documentation#2655
arnitdo wants to merge 1 commit intoopenapi-ts:mainfrom
arnitdo:patch-1

Conversation

@arnitdo
Copy link

@arnitdo arnitdo commented Mar 2, 2026

Update createClient documentation in openapi-react-query to point out incompatibility between @tanstack/react-query's QueryClient and the generated OpenapiQueryClient.

The current documentation assumes that the user has constructed a QueryClient already, the updated documentation explicitly brings forward the same assumption

Changes

Documentation-only

How to Review

Documentation change, explicitly notes the QueryClient assumption made for openapi-react-query's generated OpenpiQueryClient

Checklist

  • Unit tests updated NOT REQUIRED
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript) NOT REQUIRED

Update createClient documentation in openapi-react-query to point out incompatibility between `@tanstack/react-query`'s `QueryClient` and the generated `OpenapiQueryClient`. The current documentation assumes that the user has constructed a `QueryClient`  already, the updated documentation explicitly brings forward the same assumption
@arnitdo arnitdo requested a review from a team as a code owner March 2, 2026 16:15
@arnitdo arnitdo requested a review from gzm0 March 2, 2026 16:15
@netlify
Copy link

netlify bot commented Mar 2, 2026

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f35bed9

@changeset-bot
Copy link

changeset-bot bot commented Mar 2, 2026

⚠️ No Changeset found

Latest commit: f35bed9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@arnitdo
Copy link
Author

arnitdo commented Mar 2, 2026

Hmm I may have created a PR into the wrong file (packages/../README.md)

If the content is correct, I'll edit the PR and change the right files (assuming docs/../index.md) . Did this hastily over the web UI, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant