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

Sm/qa-schemas-updates #1066

Closed
wants to merge 3 commits into from
Closed

Sm/qa-schemas-updates #1066

wants to merge 3 commits into from

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented May 7, 2024

What does this PR do?

  • use the newly exported Project, PackageDirectories types from schemas repo
  • reorganize some code

What issues does this PR fix or reference?

QA and "implementaiton" for forcedotcom/schemas#85
to fix @W-13565856@ and https://github.com/forcedotcom/sfdx-core/issues/489

[this could be a breaking change--this PR is meant to help find out what these type changes could break downstream of sfdx-core, and also to give the QA-er a starting point for playing with the types]


Messages.importMessagesDirectory(__dirname);
const messages = Messages.loadMessages('@salesforce/core', 'scratchOrgInfoGenerator');
export const messages = Messages.loadMessages('@salesforce/core', 'scratchOrgInfoGenerator');
Copy link
Member

Choose a reason for hiding this comment

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

why export?

unpackagedMetadata?: { path: string };
seedMetadata?: { path: string };
};
export type PackageDir = PackageDirFromSchemas;
Copy link
Member

Choose a reason for hiding this comment

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

maybe add a comment to remove in the next major, and have dependencies rely on the /schemas instead?

@mshanemc mshanemc closed this Jun 17, 2024
@mshanemc
Copy link
Contributor Author

in favor of #1081

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