-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Steps
- Open ChromeiQL
- Type and execute a mutation
- Close ChromeiQL
- Open ChromeiQL
- 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
Labels
No labels