Skip to content

Comments

[pull] develop from mermaid-js:develop#113

Merged
pull[bot] merged 7 commits intocode:developfrom
mermaid-js:develop
Feb 12, 2026
Merged

[pull] develop from mermaid-js:develop#113
pull[bot] merged 7 commits intocode:developfrom
mermaid-js:develop

Conversation

@pull
Copy link

@pull pull bot commented Feb 12, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Kai Gritun and others added 7 commits February 3, 2026 20:23
The '1' alias for 'only one' cardinality was not recognized when directly
followed by relationship operators like '--' or '..'. This occurred because
the lexer rule only matched '1' when followed by whitespace and then a letter.

This fix adds a new lexer rule to also recognize '1' when directly followed
by the relationship operators (--, .., .-, -.).

Fixes #7351
…DENTIFYING)

Per the jison grammar, -. (solid-to-dotted) returns NON_IDENTIFYING.
The test comment and expectation were incorrect.
…elationship-operators

fix(er): recognize '1' cardinality alias before relationship operators
@pull pull bot locked and limited conversation to collaborators Feb 12, 2026
@pull pull bot added the ⤵️ pull label Feb 12, 2026
@pull pull bot merged commit acd7db3 into code:develop Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant