-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
Graph: Entity RelationshipInternals: ParserType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect
Description
Description
The ER diagram allows aliases for cardinalities. Unfortunately, the latest parser update #6984 breaks parsing when the 1 cardinality alias is used for the first entity in combination with -- or ...
Steps to reproduce
Create an ER diagram with an entity relationship.
The relationship must use the 1 cardinality alias for the first entity and either -- or ...
Screenshots
Code Sample
erDiagram
CUSTOMER1 only one--one or more DELIVERY-ADDRESS1 : has
CUSTOMER2 only one to one or more DELIVERY-ADDRES2 : has
CUSTOMER3 1 to one or more DELIVERY-ADDRESS3 : has
CUSTOMER4 1--one or more DELIVERY-ADDRESS4 : has
Setup
- Mermaid version: 11.12.2
Suggested Solutions
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Graph: Entity RelationshipInternals: ParserType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect