dbml
dbml copied to clipboard
Space in Enum values
Hello,
When having a space in a value of an enum, there is an error when building (dbdocs build).
Example
Enum Example { ThisIsAccepted This gives an error }
quoting with ' or " around the value does not work also.
The error:
✖ Failed: You have syntax error in database.dbml line 237 column 1. Expected "}", comment, valid name, or whitespace but "'" found.
Regards Jurjen
Did you use the latest version of dbdocs CLI?
On the other hand, can you try again with the below DBML? It's still valid on our side.
Enum Example {
ThisIsAccepted
"This gives an error"
}