Skip to content

refactor: migrate restful-react to orval + tanstack-query#311

Draft
disrupted wants to merge 7 commits into
mainfrom
orval
Draft

refactor: migrate restful-react to orval + tanstack-query#311
disrupted wants to merge 7 commits into
mainfrom
orval

Conversation

@disrupted

@disrupted disrupted commented Jun 24, 2026

Copy link
Copy Markdown
Member

Close #200
Supersedes #275

…utator

fetch client is broken with combination of options
`forceSuccessResponse: true` and `includeHttpResponseReturnType: false`
orval-labs/orval#2550

Axios throws on non-2xx natively so forceSuccessResponse is no longer needed.
This removes all `response?.status === 200` unwrapping boilerplate
payload is directly returned
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.

Explore alternatives to restful-react

1 participant