Skip to content

Make strictVersion fail fast on incompatible shared dependencies #88

Description

@RanjithNair

Feature request

Make strictVersion: true enforce a fail-fast compatibility contract when no compatible shared dependency exists, aligning the Orchestrator behavior with the documented Native Federation mental model.

Documentation:

https://native-federation.com/docs/mental-model.html#sharing-is-always-a-negotiation

The documentation states:

strictVersion — fail fast if no compatible version exists, instead of silently running against something slightly incompatible.

Current behavior

The Orchestrator does not fail when strictVersion: true encounters an incompatible shared version unless the host additionally enables:

strict: {
  strictExternalCompatibility: true,
}

The Angular adapter currently does not expose or forward the Orchestrator's strict configuration, making fail-fast behavior unavailable through its public initFederation() API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions