Skip to content

Commit

Permalink
(feat) O3-4196: Improve Optional Backend Dependencies functionality (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich authored Nov 12, 2024
1 parent a861e3a commit 01b95ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/shell/esm-app-shell/src/optionaldeps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ function setupOptionalDependencies() {
(response.data.results ?? []).forEach((backendModule) => {
if (optionalDependencyFlags.has(backendModule.uuid)) {
const optionalDependency = optionalDependencyFlags.get(backendModule.uuid);
if (optionalDependency && satisfies(backendModule.version, optionalDependency.version)) {
if (
optionalDependency &&
satisfies(backendModule.version, optionalDependency.version, { includePrerelease: true })
) {
registerFeatureFlag(
optionalDependency.feature.flagName,
optionalDependency.feature.label,
Expand Down

0 comments on commit 01b95ed

Please sign in to comment.