Skip to content

Commit

Permalink
fix(graphql): fix plugin collection (datahub-project#10696)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Jun 13, 2024
1 parent 50ab79e commit bb44c4c
Showing 1 changed file with 43 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,48 +636,49 @@ public GmsGraphQLEngine(final GmsGraphQLEngineArgs args) {
this.businessAttributeType = new BusinessAttributeType(entityClient);
// Init Lists
this.entityTypes =
ImmutableList.of(
datasetType,
roleType,
corpUserType,
corpGroupType,
dataPlatformType,
chartType,
dashboardType,
tagType,
mlModelType,
mlModelGroupType,
mlFeatureType,
mlFeatureTableType,
mlPrimaryKeyType,
dataFlowType,
dataJobType,
glossaryTermType,
glossaryNodeType,
connectionType,
containerType,
notebookType,
domainType,
assertionType,
versionedDatasetType,
dataPlatformInstanceType,
accessTokenMetadataType,
testType,
dataHubPolicyType,
dataHubRoleType,
schemaFieldType,
erModelRelationshipType,
dataHubViewType,
queryType,
dataProductType,
ownershipType,
structuredPropertyType,
dataTypeType,
entityTypeType,
formType,
incidentType,
restrictedType,
businessAttributeType);
new ArrayList<>(
ImmutableList.of(
datasetType,
roleType,
corpUserType,
corpGroupType,
dataPlatformType,
chartType,
dashboardType,
tagType,
mlModelType,
mlModelGroupType,
mlFeatureType,
mlFeatureTableType,
mlPrimaryKeyType,
dataFlowType,
dataJobType,
glossaryTermType,
glossaryNodeType,
connectionType,
containerType,
notebookType,
domainType,
assertionType,
versionedDatasetType,
dataPlatformInstanceType,
accessTokenMetadataType,
testType,
dataHubPolicyType,
dataHubRoleType,
schemaFieldType,
erModelRelationshipType,
dataHubViewType,
queryType,
dataProductType,
ownershipType,
structuredPropertyType,
dataTypeType,
entityTypeType,
formType,
incidentType,
restrictedType,
businessAttributeType));
this.loadableTypes = new ArrayList<>(entityTypes);
// Extend loadable types with types from the plugins
// This allows us to offer search and browse capabilities out of the box for those types
Expand Down

0 comments on commit bb44c4c

Please sign in to comment.