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

Validate and update relationship for existing entities #379

Open
djs0109 opened this issue Jan 24, 2025 · 1 comment · May be fixed by #380
Open

Validate and update relationship for existing entities #379

djs0109 opened this issue Jan 24, 2025 · 1 comment · May be fixed by #380
Assignees
Labels
feature request Request a potential feature

Comments

@djs0109
Copy link
Contributor

djs0109 commented Jan 24, 2025

Describe the solution you'd like
Firstly, the relationship attributes are independent of the fact, whether the related entities really (still) exist (for NGSIv2).
However, productive workflows might be built upon the information provided by the relationship.

Secondly, relationship attributes can not be provisioned in entities that are created using keyValues format. By default "Text" will be used as the data type.

Therefore, by validating the attributes against "whether it is relationship attribute or not", more reliability and usability are provided.

Describe alternatives you've considered
Two functions can be added:

  1. remove_invalid_relationship
  2. add_valid_relationship
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a potential feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant