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

Automatic component dependencies registration #2793

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

Freezystem
Copy link
Contributor

@Freezystem Freezystem commented Dec 6, 2023

Automatic component dependencies registration

To avoid recurrent questionning when using registerComponent function, I added a second parameter to the function allowing the user to pass options.

If the option registerDependencies is truthy, and the current component has a dependencies property, the component dependencies will be automatically registered.

closes #2784

@iRyusa
Copy link
Member

iRyusa commented Jan 2, 2024

Can you save via Prettier please to make the CI happy ?

@iRyusa iRyusa merged commit af19dde into mjmlio:master Jan 29, 2024
3 checks passed
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.

Automatic component dependencies registration when dependency static key is present
2 participants