You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following JDL, works well in Jhipster, but is not recognized in JDL Studio:
entity Member {
nickname String
}
relationship OneToOne {
Member{user(login)} to User with builtInEntity
}
Error message:
EarlyExitException: Expecting: expecting at least one iteration which starts with one of these possible Token sequences:: <['jpaDerivedIdentifier']> but found: 'builtInEntity' at line: 6, column: 34
The export still work as expected, but showing this error message doesn't allow the user to view other validation errors on the JDL, and having any errors breaks the drawing of the diagram.
The following JDL, works well in Jhipster, but is not recognized in JDL Studio:
Error message:
The export still work as expected, but showing this error message doesn't allow the user to view other validation errors on the JDL, and having any errors breaks the drawing of the diagram.
Seems to me that the root cause is because the builtInEntity option is not covered here as a valid option:
https://github.com/jhipster/jhipster-core/blob/3db8b51435f225f99eed6cf4164178d3dd09a342/lib/dsl/jdl_parser.js#L318
The text was updated successfully, but these errors were encountered: