-
-
Notifications
You must be signed in to change notification settings - Fork 111
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(alias-import): update runtime classes to understand import aliasing #860
feat(alias-import): update runtime classes to understand import aliasing #860
Conversation
4d26b39
to
828ff2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of linting failures in the build. I'm happy to approve once these and other existing comments are resolved.
The test would still fail because some depend on the new parser (cto), which has not yet been merged and is on a different branch. Locally, I have tested with the new parser; they work fine. |
I see one about a missing JsDoc? |
Add a test case for extending an imported type to create a new class declaration. |
It was regarding the documentation of function (comments ). It has been fixed now |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending upstream changes
- TODO marked - aliasImport handling in runtime separated from rest code to prevent breaking changes Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
- alias types mapped to fqn in the importShortNames Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
- Handled PR changes - types can't be aliased to primitive types Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Following are the test-cases added: - resolve alias type from import - validate alias type - validate map using alias type as value Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
- Added new test case where a concept is extended on a aliased import type concept - removed unecessary comments and formated code Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
cc0816f
to
e84cf14
Compare
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@accordproject/concerto-core", | |||
"version": "3.17.0", | |||
"version": "3.17.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can leave this change to the automation.
Closes #859
Changes
Flags
Screenshots or Video
Related Issues
Author Checklist
--signoff
option of git commit.main
fromfork:branchname