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 inheritance issue #26

Conversation

raykov
Copy link
Contributor

@raykov raykov commented Sep 11, 2019

Issue #23

In previous PR (#18) inheritance mechanism was introduced with a bug. Original contract was passed to the child from parent. And any change in any children was affecting all other children. This PR introduces a mechanism of copying original parent's contract with saving parent behavior.

Changes

  • Add test cases for described case
  • Fix inheritance mechanism by making a copy of "original" contract

In previous PR (michaelherold#18)
inheritance mechanism was introduced with a bug.
Original contract was passed to the child from parent.
And any change in any children was affecting all other children.
This PR introduces a mechanism of copying original parent's
contract with saving parent behavior.
@raykov raykov force-pushed the issue-23/There-is-a-bug-if-include-InteractorContracts-into-base-class branch from 0eb4d9b to 497e568 Compare September 11, 2019 18:28
@michaelherold
Copy link
Owner

Merged via 1a9d452

@raykov raykov deleted the issue-23/There-is-a-bug-if-include-InteractorContracts-into-base-class branch October 9, 2019 05:53
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