Skip to content

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

Open
@Arian94

Description

@Arian94

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestswr-openapiRelevant to swr-openapi library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions