Skip to content

Fix GraphQL request detection on response click#13

Open
amrelsagaei wants to merge 3 commits intomainfrom
ae-issue-12
Open

Fix GraphQL request detection on response click#13
amrelsagaei wants to merge 3 commits intomainfrom
ae-issue-12

Conversation

@amrelsagaei
Copy link
Copy Markdown
Collaborator

This Fixes #12

@amrelsagaei amrelsagaei requested a review from f8thl3ss March 28, 2026 16:18
@amrelsagaei
Copy link
Copy Markdown
Collaborator Author

@f8thl3ss dropping the cache RequestFull doesn't have a method property and props.request?.raw always returns the original request, not the user's edits. In replay, the editor is the source of truth since users can edit the GraphQL query/variables from the view mode and save changes back to the replay request. When the active editor switches to the response pane, we fall back to cachedEditorView (already existed for saveChanges) to keep reading from the request editor. This avoids losing edits without introducing any new caching mechanism.

@amrelsagaei amrelsagaei requested a review from f8thl3ss April 2, 2026 15:07
@amrelsagaei amrelsagaei requested a review from f8thl3ss April 10, 2026 12:52
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.

Bug: GraphQL request not detected if you click the response

2 participants