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

Using superclass relations overrides specialised ones #856

Open
adhamhashibon opened this issue Jun 29, 2023 · 1 comment
Open

Using superclass relations overrides specialised ones #856

adhamhashibon opened this issue Jun 29, 2023 · 1 comment

Comments

@adhamhashibon
Copy link

If using the foo_individual[namespace.relation ] = bar_individual form, overrides any other relation made with any subclass of namespace.relation.

example, if we refer to city, define and add a Major, then add a neighbourhood part, the relation to major (has major is subclass of has part) is gone. One needs to remember to use the += form, even though logically adding elements at a different level should be independent.

proposal: make the [ ] notation act the same as the one using connect, or discourage using it, or issue clear note in the documentation.

@yoavnash @pablo-de-andres do you know anything about this so far?

@yoavnash
Copy link
Member

yoavnash commented Jun 30, 2023

Nope.

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

2 participants