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
At the moment, across the codebase there are several ad-hoc solutions for rootModelId retrieval from abstract semantic domain, or LangiumDocument. ModelUpdateCalculators even has rootModelId as a parameter to its factory method getOrCreateCalculator just because it is easier to supply rootModelId this way, then to fetch it intricately from the LmsDocument.
Need to make this access easy and standartized to remove this code smell.
The text was updated successfully, but these errors were encountered:
At the moment, across the codebase there are several ad-hoc solutions for rootModelId retrieval from abstract semantic domain, or LangiumDocument.
ModelUpdateCalculators
even hasrootModelId
as a parameter to its factory methodgetOrCreateCalculator
just because it is easier to supply rootModelId this way, then to fetch it intricately from the LmsDocument.Need to make this access easy and standartized to remove this code smell.
The text was updated successfully, but these errors were encountered: