-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(urn-validation): Add UrnValidation PDL annotation #12572
feat(urn-validation): Add UrnValidation PDL annotation #12572
Conversation
0f71052
to
2c53b38
Compare
@@ -494,6 +495,27 @@ This annotation says that when we ingest an Entity with an Ownership Aspect, Dat | |||
between that entity and the CorpUser or CorpGroup who owns it. This will be queryable using the Relationships resource | |||
in both the forward and inverse directions. | |||
|
|||
#### @UrnValidation | |||
|
|||
This annotation can be applied to Urn fields inside an aspect. The annotation can optionally perform one or more of the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there plans for it be applied to be required for all urn fields? It would add reference consistency to the metadata graph.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, @david-leifker!
* Apply UrnValidation logic to StructuredPropertyDefinition valueType
2c53b38
to
c7df219
Compare
|
7326bb9
into
datahub-project:master
Checklist