Skip to content

Access Response alongside data, error, isLoading, etc. #2247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
Arian94 opened this issue Apr 8, 2025 · 1 comment
Open
1 task done

Access Response alongside data, error, isLoading, etc. #2247

Arian94 opened this issue Apr 8, 2025 · 1 comment
Labels
enhancement New feature or request swr-openapi Relevant to swr-openapi library

Comments

@Arian94
Copy link

Arian94 commented Apr 8, 2025

Description

At the moment, there is no way to retrieve a response from the useQuery.

Proposal

Make a way to access the Response like:

const {reponse} = useQuery('path');

Extra

@Arian94 Arian94 added enhancement New feature or request swr-openapi Relevant to swr-openapi library labels Apr 8, 2025
@Tommos0
Copy link

Tommos0 commented Apr 10, 2025

#2238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request swr-openapi Relevant to swr-openapi library
Projects
None yet
Development

No branches or pull requests

2 participants