Closed Lotes closed 2 weeks ago
PR Preview Action v1.4.6 :---: Preview removed because the pull request was closed. 2024-08-28 12:36 UTC
Thanks @Lotes for the improvements! The two use cases are much more clear in the introduction now and I like the explicit examples. "approved" from my side 🙂
I added a recipe for detecting any kind of dependency loop and resolving acyclic dependencies.
It is not specific to Langium, but it is one of these problems, that might need to be solved for several language features. Like recursion detection or recursive data structures.
The detection is implemented as a Langium validation. I think this is useful for users, that have never came across with such graph algorithms.