Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid export can generate identifiers with illegal characters #245

Open
eoliphan opened this issue Oct 17, 2024 · 0 comments
Open

Mermaid export can generate identifiers with illegal characters #245

eoliphan opened this issue Oct 17, 2024 · 0 comments

Comments

@eoliphan
Copy link

Hi i just ran into this. I have a state machine whose id is 'session-manager'. The mermaid export dutifully creates identifiers (or identifier prefixes) with that literal string which isn't legal in the mermaid state machine dsl. For example:

 state "session-manager" as session-manager {
        [*] --> session-manager.Loaded
        session-manager.Loaded --> session-manager.Configured : configFetched

was easy enough to work around by just changing the id, but you guys might want to add a some pre export checks/warnings


Studio version: 0.125.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant