Skip to content

Commit

Permalink
Merge pull request #119 from quarkiverse/fix/deprecated-methods
Browse files Browse the repository at this point in the history
Replace usage of deprecated methods
  • Loading branch information
kdubb authored Apr 3, 2024
2 parents 3bbae93 + 4c9ba43 commit d9871ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void registerProvider(
Class<?> featureClass = ZanzibarDynamicFeature.class;
additionalBeans.produce(AdditionalBeanBuildItem.unremovableOf(featureClass));
additionalIndexedClasses.produce(new AdditionalIndexedClassesBuildItem(featureClass.getName()));
reflectiveClass.produce(new ReflectiveClassBuildItem(true, true, featureClass));
reflectiveClass.produce(ReflectiveClassBuildItem.builder(featureClass).fields(true).methods(true).build());
} else {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Uni<Void> add(List<Relationship> relationships) {
.build())
.build());

}).collect(Collectors.toList())).combinedWith(WriteRelationshipsResponse.class, r -> null);
}).collect(Collectors.toList())).with(WriteRelationshipsResponse.class, r -> null);
}

@Override
Expand All @@ -70,7 +70,7 @@ public Uni<Void> remove(List<Relationship> relationships) {
.setRelationship(toAutzedRelationship(relationship))
.build())
.build());
}).collect(Collectors.toList())).combinedWith(WriteRelationshipsResponse.class, r -> null);
}).collect(Collectors.toList())).with(WriteRelationshipsResponse.class, r -> null);
}

static com.authzed.api.v1.Core.Relationship toAutzedRelationship(Relationship relationship) {
Expand Down

0 comments on commit d9871ad

Please sign in to comment.