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

Super types and Sub types #16

Open
thsaravana opened this issue Aug 29, 2019 · 0 comments
Open

Super types and Sub types #16

thsaravana opened this issue Aug 29, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@thsaravana
Copy link
Member

Different cases:

  1. Post(subType) -> Subscribe(superType)
  2. Post(getSuperType()) -> Subscribe(subType) {where getSuperType() returns superType, but the concrete implementation returned is subType}

In the first case, we need to ensure both Post and Subscribe connection works.
In the second case, if a superType is posted, then we need to showUsages of all the subTypes involved in the Subscribe, because any of those methods can be called based on the runtime value. Since we can't guess the runtime value, this is what we can do. We just need to show all the possibilities.

@thsaravana thsaravana added the enhancement New feature or request label Aug 29, 2019
@thsaravana thsaravana added this to the 0.5 milestone Aug 29, 2019
@thsaravana thsaravana self-assigned this Aug 29, 2019
@thsaravana thsaravana modified the milestones: 0.5, 0.6 Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant