Skip to content

Commit

Permalink
Removed the filterInputsBy package line, which prevents scanning cust…
Browse files Browse the repository at this point in the history
…om packages that are registered on hopebuilder.
  • Loading branch information
Tushar-Naik committed Oct 6, 2023
1 parent 9c1efe6 commit e4d371b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ public synchronized void discover(List<String> packages) {
Reflections reflections = new Reflections(
new ConfigurationBuilder()
.setUrls(packageUrls)
.setScanners(new SubTypesScanner(), new TypeAnnotationsScanner())
.filterInputsBy(new FilterBuilder().includePackage("io.appform.hope.core.functions.impl")));
.setScanners(new SubTypesScanner(), new TypeAnnotationsScanner()));
log.debug("Type scanning complete");
final Set<Class<? extends HopeFunction>> classes = reflections.getSubTypesOf(HopeFunction.class);
classes
Expand Down

0 comments on commit e4d371b

Please sign in to comment.