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

WIP: fix bundling by disabling plugins on inso cli #6496

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/insomnia/src/common/send-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
responseTransform,
sendCurlAndWriteTimeline,
tryToInterpolateRequest,
tryToTransformRequestWithPlugins,
} from '../network/network';
import { invariant } from '../utils/invariant';
import { database } from './database';
Expand Down Expand Up @@ -72,7 +71,7 @@ export async function getSendRequestCallbackMemDb(environmentId: string, memDB:
} = await fetchInsoRequestData(requestId);
// NOTE: inso ignores active environment, using the one passed in
const renderResult = await tryToInterpolateRequest(request, environmentId, RENDER_PURPOSE_SEND);
const renderedRequest = await tryToTransformRequestWithPlugins(renderResult);
const renderedRequest = renderResult.request;
const response = await sendCurlAndWriteTimeline(
renderedRequest,
clientCertificates,
Expand Down