Skip to content

Don't execute mutations automatically #20

@aschmied

Description

@aschmied

Steps

  1. Open ChromeiQL
  2. Type and execute a mutation
  3. Close ChromeiQL
  4. Open ChromeiQL
  5. Type a new URL and click "set endpoint"

Result

The mutation is executed after both steps 4 and 5. This is potentially destructive. Lots of time might have passed between steps 3 and 4 and I might not even remember that I left a mutation query lying around. Even if I do remember I don't know of a way to open ChromeiQL without executing the existing query. If the URL I typed in step 5 was a production URL this could be catastrophic.

Notes

It's a bad practice to leave mutations lying around in the query window, but when I'm developing a mutation API it is a very easy mistake to make.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions