-
follow the #984,now i can refer outer model correctly,similar to oridinary st file,validation is also necessary,is langium now can support validate in-memory document as well(other st file refer in-memory document ) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@zrwsmd What is supposed to be validated? By default, missing references are validated, but nothing else. In case you want type system based validations, you need to implement them yourself. Note that in-memory documents that haven't been parsed from text cannot be validated, as the validator requires text-offsets to work correctly. |
Beta Was this translation helpful? Give feedback.
@zrwsmd What is supposed to be validated? By default, missing references are validated, but nothing else. In case you want type system based validations, you need to implement them yourself.
Note that in-memory documents that haven't been parsed from text cannot be validated, as the validator requires text-offsets to work correctly.