Skip to content

Prevent default transitions from shadowing later edges #909

Description

@Eilen6316

GraphBuilder currently allows adding conditional transitions after a default transition. Burr uses first-match transition semantics, so any edge added after a default edge is silently unreachable.

When adding transitions, validate that:

  • no edge can be added after an existing default edge;
  • a default transition is the final edge for a node;
  • multiple default transitions are rejected.

This issue is tracked by PR #906.

The behavior change should be called out in the release notes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions