Skip to content

Go back to useQuery for query editor requests #993

@kmcginnes

Description

@kmcginnes

I switched the logic to useMutation to ensure only one fetch request will fire per button click. We need this guarantee to ensure mutations do not unintentionally get executed multiple times. But useMutation has made the logic around the query quite a mess.

Typically useQuery will perform background fetches to freshen up the data stored in cache. There are flags to turn all of these off. I think I have the proper set of them now to give this another shot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructurequery editorThe editor and results used for executing user defined database queries

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions