Skip to content

fix(react-client): @openapi-qraft/react for the --queryable-write-operations option#403

Merged
radist2s merged 2 commits intomainfrom
fix/use-queries-body
Feb 19, 2026
Merged

fix(react-client): @openapi-qraft/react for the --queryable-write-operations option#403
radist2s merged 2 commits intomainfrom
fix/use-queries-body

Conversation

@radist2s
Copy link
Copy Markdown
Collaborator

@radist2s radist2s commented Feb 19, 2026

useQueries and useSuspenseQueries previously did not send body when parameters were provided via queryKey, which caused queryable write operations to behave incorrectly. This PR aligns both hooks with useQuery behavior by extracting body from query params and passing it to requestFn.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: 6fa60c4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@openapi-qraft/react Patch
@openapi-qraft/cli Patch
@openapi-qraft/plugin Patch
@openapi-qraft/tanstack-query-react-plugin Patch
@openapi-qraft/openapi-typescript-plugin Patch
@openapi-qraft/tanstack-query-react-types Patch
@openapi-qraft/eslint-plugin-query Patch
@qraft/cli Patch
@qraft/cli-utils Patch
@qraft/test-utils Patch
@qraft/asyncapi-plugin Patch
@qraft/plugin Patch
@qraft/asyncapi-typescript-plugin Patch

Not sure what this means? Click here to learn what changesets are.

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

@radist2s radist2s changed the title Fix/use queries body fix(react-client): @openapi-qraft/react for the --queryable-write-operations option Feb 19, 2026
@radist2s radist2s marked this pull request as ready for review February 19, 2026 08:40
Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@radist2s radist2s merged commit 2422a58 into main Feb 19, 2026
13 of 15 checks passed
@radist2s radist2s deleted the fix/use-queries-body branch February 19, 2026 08:41
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