Skip to content
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

MetaModel: Support for exporting full ModelManager (several related CTO models) #339

Closed
jeromesimeon opened this issue Oct 4, 2021 · 3 comments

Comments

@jeromesimeon
Copy link
Member

Feature Request ๐Ÿ›๏ธ

Current MetaModel only supports converting between a single CTO file or ModelFile object and the MetaModel. Names can be resolved if a model manager is passed as well. It would be useful to allow conversion between a set of related CTO files or a full ModelManager and the MetaModel.

Use Case

  • This would allow to have full type information for a model, including its imports, making the MetaModel stand-alone.

Possible Solution

  • Add a new top-level notion of concerto.metamodel.Models containing an array of concerto.metamodel.Model for each CTO file.
  • Add conversion between concerto.metamodel.Models and ModelManager
  • Add corresponding CLI support
@jeromesimeon
Copy link
Member Author

Preliminary support for this available in #338 with the new Concerto Metamodel version 0.3.

@Jeevan-Kiran-Lenka
Copy link

Hey! @jeromesimeon I would like to know more about this feature-request, and then to solve this. I would love if you can assign this to me, and give a starting point for this feature-requerst :)

@jeromesimeon
Copy link
Member Author

This has now been implemented, and will be part of the 2.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants