-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Backported schemas to codegen
branch may break portability between platforms due to handling typeDSL
#863
Comments
codegen
branch may break portability between platformscodegen
branch may break portability between platforms due to handling typeDSL
This is a blocker of #861. If it is OK to take this approach, I will create new issues for each code generators. |
How about extending the
It is consistent with the existing spec of Notes:
|
I agree that this is important and needs fixing, I also think that option 1 ("Introduce a new field to control nested typeDSL") is the correct method. |
Since we have total control of the |
Here is an intended behaviors after introducing
|
I'm not sure here is an appropriate place for this issue but I report it here because it is related to
saladVersion
.Historically, in my understanding, the
saladVersion
field was introduced not to break the compatibility when implementing nested typeDSL.That is:
At that time, we also discussed to introduce another field to control it but finally it was rejected.
By the way, saladVersion v1.3 also introduces map and union schemas to represent input objects and they are backported to the schemas in the
codegen
branch of CWL v1.0-v1.2.That is, the code-gerenated parsers with backported schemas in saladVersion v1.3 accidentally support nested typeDSL.
Not to break the portability between platforms, it would be nice if we can fix this issue.
There are several ways to fix it.
saladVersion
insteadWhat do you think?
The text was updated successfully, but these errors were encountered: