Skip to content

Unable to create ID starting with a "T" in architecture-beta #7022

@aserfass-msft

Description

@aserfass-msft

Description

I kept getting the error message:
"Syntax error in text: Parsing failed: Expecting token of type 'ID' but found T."

I found that I had to rename my service id to not start with a "T" which seems like a bug. I assume it is related to the connection nomenclature like "T:Disk1" but that is just a guess.

With a little more testing, it appears a lowercase "t" is ok and all of the Edge Direction letters "L|R|T|B" cause an error when it is the start of the ID name.

Steps to reproduce

Example that will cause an error
service TH(disk)

This is fine
service tH(disk)

Screenshots

No response

Code Sample

see above

Setup

  • Mermaid version:
  • Browser and Version: VS Code 1.104.2

Suggested Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions