Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: always take the latest operation name instead of prev state's #7553

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Jun 17, 2024

Background:

The gql editor reads state.body.operationName for getting operation name but it may refer to the last state, read operations[0] to get the latest ast's op name.

Ref: INS-3966, #7455

Changes:

  • fix: always take the latest operation name instead of prev state's

@ihexxa ihexxa self-assigned this Jun 17, 2024
@ihexxa ihexxa enabled auto-merge (squash) June 18, 2024 08:00
@ihexxa ihexxa merged commit 740d9a8 into develop Jun 18, 2024
7 checks passed
@ihexxa ihexxa deleted the fix-gql-opname branch June 18, 2024 08:13
stefancruz pushed a commit to stefancruz/insomnia that referenced this pull request Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants