borkdominik / bigER

Entity Relationship Diagram modeling tool realized as a language server that is distributed as a VS Code extension.
https://marketplace.visualstudio.com/items?itemName=BIGModelingTools.erdiagram
MIT License
106 stars 13 forks source link

type with multi args #28

Closed redaready closed 1 year ago

redaready commented 2 years ago

Description

for type with 2 or more args, can not generate diagram example: amout: decimal(40, 20) error message: mismatched input '40,20' expecting RULE_INT(org.eclipse.xtext.diagnostics.Diagnostic.Syntax)

Current Behavior

No response

Expected Behavior

No response

Steps to Reproduce

No response

Environment

No response

Additional Information

No response

plglaser commented 1 year ago

Datatypes with two arguments are now supported in the latest release (v0.4.0) of bigER.

Example Model:

erdiagram Model

entity Order {
    id: INTEGER key
    price: DOUBLE(5, 5) // datatype with two arguments
}