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 response pane flash #5453

Merged
merged 3 commits into from
Nov 23, 2022
Merged

Conversation

jackkav
Copy link
Contributor

@jackkav jackkav commented Nov 23, 2022

changelog(Fixes): Fixed an issue that caused the response pane to sometimes flash for a brief moment

removes some indirection caused by generics and function chaining, ensured error cases and typed and handled by callers.
I chose to infer stream type using typeof body === 'string'
open to suggestions to a better approach, or removal of the optional error argument.
also simplify response viewer
closes INS-2165

@jackkav jackkav requested a review from a team November 23, 2022 09:44
@jackkav jackkav changed the title fix typed get body functions fix response pane flash Nov 23, 2022
@filfreire filfreire merged commit 4612ef7 into Kong:develop Nov 23, 2022
@jackkav jackkav deleted the fix/response-body-functions branch November 23, 2022 12:03
pavkout pushed a commit to pavkout/insomnia that referenced this pull request Jan 18, 2023
* fix typed get body functions

* remove console log

* fix response flash
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