mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-15 02:43:19 +00:00
33 lines
797 B
GraphQL
33 lines
797 B
GraphQL
|
|
interface HasLogicalParent {
|
||
|
|
"""
|
||
|
|
If this entity represents a physical asset, this is its logical parent, from which metadata can propagate.
|
||
|
|
"""
|
||
|
|
logicalParent: Entity
|
||
|
|
}
|
||
|
|
|
||
|
|
extend type Dataset implements HasLogicalParent {
|
||
|
|
"""
|
||
|
|
If this entity represents a physical asset, this is its logical parent, from which metadata can propagate.
|
||
|
|
"""
|
||
|
|
logicalParent: Entity
|
||
|
|
}
|
||
|
|
|
||
|
|
extend type SchemaFieldEntity implements HasLogicalParent {
|
||
|
|
"""
|
||
|
|
If this entity represents a physical asset, this is its logical parent, from which metadata can propagate.
|
||
|
|
"""
|
||
|
|
logicalParent: Entity
|
||
|
|
}
|
||
|
|
|
||
|
|
input SetLogicalParentInput {
|
||
|
|
resourceUrn: String!
|
||
|
|
parentUrn: String
|
||
|
|
}
|
||
|
|
|
||
|
|
extend type Mutation {
|
||
|
|
"""
|
||
|
|
Set or unset an entity's logical parent
|
||
|
|
"""
|
||
|
|
setLogicalParent(input: SetLogicalParentInput!): Boolean
|
||
|
|
}
|