Skip to content

Conversation

@WillieRuemmele
Copy link
Contributor

What does this PR do?

adds api request graphql command

What issues does this PR fix or reference?

@W-16501195@

@WillieRuemmele WillieRuemmele changed the base branch from main to wr/orgApiRest August 15, 2024 21:12
Base automatically changed from wr/orgApiRest to main August 21, 2024 15:24
}

export async function sendAndPrintRequest(options: {
streamFile: string | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
streamFile: string | undefined;
streamFile?: string;


const org = flags['target-org'];
const streamFile = flags['stream-to-file'];
const apiVersion = await org.retrieveMaxApiVersion();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should do like rest does and allow user to set it.

Imagine someone trying to repro a bug that's API dependent, etc.

@salesforcecli salesforcecli deleted a comment from mshanemc Aug 21, 2024
@mshanemc mshanemc merged commit 04adffe into main Aug 22, 2024
@iowillhoit iowillhoit changed the title Wr/api request graphql W-16501195 Wr/api request graphql Jan 27, 2025
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.

3 participants