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

feat: support throttling of listMetadata calls and queries; include and exclude metadata #1469

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shetzel
Copy link
Contributor

@shetzel shetzel commented Dec 19, 2024

Allows an include list of metadata types when building a manifest from an org.
Allows an exclude list of metadata types when building a manifest from an org.
Allows throttling of listMetadata API calls and queries when building a manifest from an org with the new SF_LIST_METADATA_BATCH_SIZE environment variable.

What issues does this PR fix or reference?

#3152
@W-17431548@

@shetzel shetzel requested a review from a team as a code owner December 19, 2024 17:22
);
const type = this.registry.getTypeByName(componentType.folderContentType).name;
const folder = component.fullName;
folderComponentTypes.push(`${type}::${folder}`);
Copy link
Member

Choose a reason for hiding this comment

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

is this :: just something for folder types? I haven't seen that separator before

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's just a delimiter I came up with so that I could reuse a simple string[] versus [{type: string, folder:string}]

@shetzel shetzel marked this pull request as draft December 19, 2024 23:27
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