Skip to content

Commit 598cda2

Browse files
authored
feat(ui): support all entities with display names in browse paths v2 (#11657)
1 parent e5486a5 commit 598cda2

File tree

2 files changed

+2
-48
lines changed

2 files changed

+2
-48
lines changed

datahub-web-react/src/graphql/browseV2.graphql

+1-24
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,7 @@ query getBrowseResultsV2($input: BrowseV2Input!) {
77
entity {
88
urn
99
type
10-
... on Container {
11-
properties {
12-
name
13-
}
14-
}
15-
... on DataFlow {
16-
properties {
17-
name
18-
}
19-
}
20-
... on DataPlatformInstance {
21-
platform {
22-
name
23-
properties {
24-
displayName
25-
}
26-
}
27-
instanceId
28-
}
29-
... on Dataset {
30-
properties {
31-
name
32-
}
33-
}
10+
...entityDisplayNameFields
3411
}
3512
}
3613
start

datahub-web-react/src/graphql/fragments.graphql

+1-24
Original file line numberDiff line numberDiff line change
@@ -1308,30 +1308,7 @@ fragment browsePathV2Fields on BrowsePathV2 {
13081308
entity {
13091309
urn
13101310
type
1311-
... on Container {
1312-
properties {
1313-
name
1314-
}
1315-
}
1316-
... on DataFlow {
1317-
properties {
1318-
name
1319-
}
1320-
}
1321-
... on DataPlatformInstance {
1322-
platform {
1323-
name
1324-
properties {
1325-
displayName
1326-
}
1327-
}
1328-
instanceId
1329-
}
1330-
... on Dataset {
1331-
properties {
1332-
name
1333-
}
1334-
}
1311+
...entityDisplayNameFields
13351312
}
13361313
}
13371314
}

0 commit comments

Comments
 (0)