-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bulk-model-sync): workaround removed and outdated resolveInfo after import into MPS #830
feat(bulk-model-sync): workaround removed and outdated resolveInfo after import into MPS #830
Conversation
JVM coverage report
|
val modulesToImport = getModulesToImport() | ||
ModelImporter(rootOfImport, continueOnError).importIntoNodes(modulesToImport) | ||
println("Import finished.") | ||
} catch (ex: Exception) { |
Check warning
Code scanning / detekt
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning
This PR ist still a draft, because I want to talk about in our refinment. |
...c-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt
Outdated
Show resolved
Hide resolved
...c-lib/mps-test/src/test/kotlin/org/modelix/model/sync/bulk/lib/test/ResolveInfoUpdateTest.kt
Outdated
Show resolved
Hide resolved
bulk-model-sync-mps/src/main/kotlin/org/modelix/mps/model/sync/bulk/MPSBulkSynchronizer.kt
Outdated
Show resolved
Hide resolved
…ter import into MPS In projects, loading all libraries and plugins can significant time. This workaround enables to sync projects better that do not want to load all libraries and plugins. With this workaround, the `name` or `resolveInfo` property of a target is used as the `resoleInfo` property on a reference even if the concept of the target could not be fully loaded.
4760368
to
dc44995
Compare
🎉 This PR is included in version 8.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
In projects, loading all libraries and plugins can take significant time. This workaround enables to sync projects better that do not want to load all libraries and plugins. With this workaround, the
name
orresolveInfo
property of a target is used as theresoleInfo
property on a reference even if the concept of the target could not be fully loaded.To be verified by reviewers