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

W-16501195 Wr/api request graphql #6

Merged
merged 18 commits into from
Aug 22, 2024
Merged

W-16501195 Wr/api request graphql #6

merged 18 commits into from
Aug 22, 2024

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
13 checks passed
@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.

2 participants