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

feat(import-alias):patch change for aliased imported types #894

Conversation

salujajaskeerat
Copy link
Contributor

@salujajaskeerat salujajaskeerat commented Aug 28, 2024

Closes #

This pull request deals with analyser rules for aliased types in concerto.

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:branchname

Jaskeerat Singh Saluja added 4 commits August 28, 2024 15:35
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
@salujajaskeerat
Copy link
Contributor Author

@mttrbrts @ekarademir Kindly review the PR

Jaskeerat Singh Saluja added 2 commits August 29, 2024 23:09
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
@@ -98,7 +98,7 @@ class BaseModelManager {
// TODO Remove on release of MapType
// Supports both env var and property based flag
this.enableMapType = !!options?.enableMapType;
this.importAliasing = !!options?.importAliasing;
this.importAliasing = process.env.IMPORT_ALIASING || !!options?.importAliasing;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.importAliasing = process.env.IMPORT_ALIASING || !!options?.importAliasing;
this.importAliasing = process?.env?.IMPORT_ALIASING === 'true' || !!options?.importAliasing;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Jaskeerat Singh Saluja <[email protected]>
@ekarademir ekarademir merged commit 6247c15 into accordproject:main Aug 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants