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

fix(47): Adds custom instanceof implementation to allow comparison of different module instances #50

Merged
merged 1 commit into from
Sep 3, 2019

Conversation

mttrbrts
Copy link
Sponsor Member

Resolves #47

Adds custom instanceof implementation through the use of Symbol.hasInstance to allow comparison of different module instances.

… different module instances

Signed-off-by: Matt Roberts <code@rbrts.uk>
@mttrbrts
Copy link
Sponsor Member Author

@jeromesimeon

@mttrbrts mttrbrts requested a review from dselman July 30, 2019 06:25
@mttrbrts mttrbrts self-assigned this Jul 30, 2019
@@ -9,6 +9,7 @@ class AssetDeclaration extends ClassDeclaration {
+ void constructor(ModelFile,Object) throws IllegalModelException
+ boolean isRelationshipTarget()
+ string getSystemType()
+ boolean undefined(object)
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

This is bizarre....

@dselman dselman merged commit 71a5049 into accordproject:master Sep 3, 2019
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.

Avoid instanceof which leads to runtime errors with deep npm dependencies
2 participants