Skip to content

is langium support validate in-memory document #1521

Answered by msujew
zrwsmd asked this question in Q&A
Discussion options

You must be logged in to vote

@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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zrwsmd
Comment options

@msujew
Comment options

Answer selected by zrwsmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants