Skip to content

bug?: react-query implementation when POST is used it always transforms into useMutation while for some cases its a useQuery for us! #515

@maapteh

Description

@maapteh

Hi, i noticed when my endpoint is POST the tooling generates a useMutation implementation, while for us it's really a useQuery.

Since we can't dictate how the api's should be setup (POST has been chosen as a security measurement for this particular case), I was wondering if there is a way to tell the tooling which implementation to use for specific endpoints/methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions