-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Remove support for system models #62
Comments
A few comments:
|
Why having a top type would be useful: accordproject/ergo#420 |
|
Small fact finding mission. I can't seem to find a clear dependency from Concerto to HL Composer:
With that project being deprecated, can we assume supporting the hyper ledger composer system model is not a requirement? |
Yes. Composer still has an old/private copy of Concerto packaged with it - so those people will be fine. |
Fact Finding Item Nb2. The current Accord Project system model is as follows:
Defined in: https://github.com/accordproject/models/blob/master/src/cicero/base.cto |
Ah, I see. Thanks for clarifying! |
The fundamental role of the systems model is to define the type names With that in mind I could see a couple of options:
A drawback of 2. is that identifiers for some of those has to become part of the user models. @dselman @mttrbrts @sstone1 I would love your feedback on this. |
One more question on this. Where can I find a definition of the hyperledger system model? |
[For what it's worth, I think that, currently, my preferred options would be 2. +
] |
Just to make sure we are clear option 2. will break every Accord Project templates! There is certainly a very big benefit in 1. for backward compatibility in other Accord Project projects. |
Thanks for the useful analysis @jeromesimeon. I suggest we take this up at the next WG meeting. |
Update on this. The
Some remaining open issues are listed in the corresponding PR: https://github.com/accordproject/concerto/tree/release-1.0 Those relate to the question of whether we should have a root class for the type hierarchy (#180) and revisions we should discuss for identifiers and relationships (#181) |
@dselman Can we consider this closed based on the latest review and support in |
Support for system models has complicated the codebase and makes it hard to reuse models, as they now have an implicit dependency on a system model.
On balance I think we should make a breaking change and remove the support for system models, forcing people to explicitly declare dependencies on their own models using an
import
with afrom
.The text was updated successfully, but these errors were encountered: