Skip to content

feat(core): support feature optional dependencies#2619

Merged
barak007 merged 2 commits intomasterfrom
ido/optional-feature-dependencies
Dec 17, 2024
Merged

feat(core): support feature optional dependencies#2619
barak007 merged 2 commits intomasterfrom
ido/optional-feature-dependencies

Conversation

@idoros
Copy link
Copy Markdown
Contributor

@idoros idoros commented Dec 17, 2024

This PR introduces an optionalDependencies configuration option for defining features.

Optional dependencies will only be initialized and made available if another feature includes them in its (required) dependencies definition. This ensures that a feature can leverage another feature dynamically, based on its availability in the current running "flavor."

@idoros idoros added the enhancement New feature or request label Dec 17, 2024
@idoros idoros self-assigned this Dec 17, 2024
@idoros idoros requested a review from barak007 December 17, 2024 10:35
Comment thread packages/core/src/runtime-engine.ts
@barak007 barak007 merged commit c15930e into master Dec 17, 2024
@barak007 barak007 deleted the ido/optional-feature-dependencies branch December 17, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants