Skip to content

Commit

Permalink
ci(filters): add graphql code to backend trigger (#10113)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored Mar 22, 2024
1 parent a4418f1 commit 8cb65bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/actions/ci-optimization/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ runs:
- "metadata-jobs/**"
- "metadata-service/**"
- "metadata-utils/**"
- "datahub-graphql-core/**"
- "smoke-test/**"
- "docker/**"
kafka-setup:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1183,11 +1183,12 @@ private void configureMutationResolvers(final RuntimeWiring.Builder builder) {
new DeleteGlossaryEntityResolver(this.entityClient, this.entityService))
.dataFetcher(
"updateName", new UpdateNameResolver(this.entityService, this.entityClient))
.dataFetcher("addRelatedTerms", new AddRelatedTermsResolver(this.entityService,
this.entityClient))
.dataFetcher(
"removeRelatedTerms", new RemoveRelatedTermsResolver(this.entityService,
this.entityClient))
"addRelatedTerms",
new AddRelatedTermsResolver(this.entityService, this.entityClient))
.dataFetcher(
"removeRelatedTerms",
new RemoveRelatedTermsResolver(this.entityService, this.entityClient))
.dataFetcher(
"createNativeUserResetToken",
new CreateNativeUserResetTokenResolver(this.nativeUserService))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public CompletableFuture<Boolean> get(DataFetchingEnvironment environment) throw
if (GlossaryUtils.canManageChildrenEntities(context, parentUrn, _entityClient)) {
try {
final TermRelationshipType relationshipType = input.getRelationshipType();
final Urn urn = Urn.createFromString(input.getUrn());
final List<Urn> termUrns =
input.getTermUrns().stream().map(UrnUtils::getUrn).collect(Collectors.toList());
validateRelatedTermsInput(urn, termUrns);
Expand Down

0 comments on commit 8cb65bd

Please sign in to comment.