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

Double check for Contains and ContainedBy UUIDs #46

Open
hadisinaee opened this issue Feb 6, 2024 · 0 comments
Open

Double check for Contains and ContainedBy UUIDs #46

hadisinaee opened this issue Feb 6, 2024 · 0 comments
Labels
question Further information is requested

Comments

@hadisinaee
Copy link
Collaborator

When building the validators, I initially used UUIDs in IndalekoRelationshipContains and IndalekoRelationshipContainedBy. However, it turned out that they should be used oppositely to function correctly. For instance, if X and Y represents the UUIDs for Contains and ContainedBy, respectively, we should use Y and X for Contains and ContainedBy.

So, either of these statements should be correct:

  1. Object2 [Contains/ContainedBy] Object1 when we are building IndalekoRelation objects
  2. The UUIDs are used oppositely.

Based on my observations of other ingesters, the first option is more likely.

@hadisinaee hadisinaee added the question Further information is requested label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant