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

MF-320 All module-config keywords should be underscore-prefixed #32

Merged
merged 2 commits into from
Nov 12, 2020

Conversation

brandones
Copy link
Collaborator

This is the other big, breaking config change (alongside #27 ).

This PR is against #27 just for the clean diff. It's built on top of it. Once this PR is approved, I'll merge it into that branch. Then, once PRs are out against all the other modules to update their config schemas as will be necessary, we can merge #27 to master.

I think it would also be a moment to major-version esm-core. Unless we're still informally considering esm-core 0-versioned.

@brandones brandones changed the base branch from master to config-types November 11, 2020 20:26
Copy link
Contributor

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

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

LGTM - thanks 🍻 !

validators?: Array<Function>;
_default: ConfigValue;
_description?: string;
_validators?: Array<Function>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we be more specific here? Is this, e.g., Array<ConfigValidator> where type ConfigValidator = (config: any) => boolean or similar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh yeah, great idea!

@brandones brandones merged commit 6890d34 into config-types Nov 12, 2020
@FlorianRappl FlorianRappl deleted the underscores branch November 23, 2020 15:15
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