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

Inheritance and Reusing Parent Classes #2

Open
kferrone opened this issue Jan 26, 2020 · 0 comments
Open

Inheritance and Reusing Parent Classes #2

kferrone opened this issue Jan 26, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kferrone
Copy link
Owner

So it seems one class can inherit another class so long as the base class is never reused in any other instance of TSConvict. Not sure if it is even possible to have more than one class extend a base class and then have the two used in the same config. Seems like the base class will inherit the metadata of the extending class.

Their is a test in the test folder called inheritance and it has the tests to make sure this is possible.

@kferrone kferrone added the bug Something isn't working label Jan 26, 2020
@kferrone kferrone self-assigned this Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant