Crystal-Modeling / tasklist-lang

Langium-based LS for TaskList language implemented in GLSP blueprints. Integrated with GLSP as SourceModel Server for demo purpose
Apache License 2.0
3 stars 1 forks source link

Identity model should be validated on load from JSON #38

Open hpopov opened 1 year ago

hpopov commented 1 year ago

Identity model should be validated on load:

  1. Only identities (of a specific type, i.e., Tasks) with unique & non-empty name should be picked (duplicates to be filtered out)
  2. Only identities with unique id should be picked (duplicates to be filtered out)
  3. Ideally, this validation should be centralized (to avoid code repetition in Langium validator and in IdentityIndex)