Closed schwichti closed 3 years ago
Refactor the generated typescript code (and the ecore runtime) to use this pattern: https://medium.com/visual-development/how-to-fix-nasty-circular-dependency-issues-once-and-for-all-in-javascript-typescript-a04c987cf0de. The DependencyManager should topologically sort the dependencies and generate an index.ts file with the imports in the right order.
The mentioned pattern won't work for cyclic dependencies how they are in EMF. Need to stick to madge and resolve cyclic dependencies by hand.
Refactor the generated typescript code (and the ecore runtime) to use this pattern: https://medium.com/visual-development/how-to-fix-nasty-circular-dependency-issues-once-and-for-all-in-javascript-typescript-a04c987cf0de. The DependencyManager should topologically sort the dependencies and generate an index.ts file with the imports in the right order.