diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java index 9290c409ac7b11..98bf85ebd976ac 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java @@ -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