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

Is M3 NamespacedEntity an abstract concept or interface? #143

Closed
enikao opened this issue Jun 30, 2023 · 0 comments
Closed

Is M3 NamespacedEntity an abstract concept or interface? #143

enikao opened this issue Jun 30, 2023 · 0 comments

Comments

@enikao
Copy link
Contributor

enikao commented Jun 30, 2023

Pro abstract concept:
We once tended towards "classes have features, whereas interface exhibit behavior". In this sense NamespacedEntity feels like a class, as it has name and id.

Pro interface:
It feels closely related to NamespaceProvider and INamed, and both are interfaces.
Also, we didn't really follow through with above's semantics of classes vs. interfaces.

On 2023-06-30, we decided to make NamespacedEntity an interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant