Skip to content

Commit

Permalink
chore: ignoring countAll operation for custom repositories
Browse files Browse the repository at this point in the history
Signed-off-by: Maximillian Arruda <dearrudam@gmail.com>
  • Loading branch information
dearrudam committed Jun 5, 2024
1 parent c71fdd9 commit 1ddef3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public Object invoke(Object instance, Method method, Object[] params) throws Thr
return unwrapInvocationTargetException(() -> repository(method).invoke(instance, method, params));

}
case DELETE_BY, COUNT_BY, EXISTS_BY ->
case DELETE_BY, COUNT_ALL, COUNT_BY, EXISTS_BY ->
throw new UnsupportedOperationException("The custom repository does not support the method " + method);
default -> {
return Void.class;
Expand Down

0 comments on commit 1ddef3b

Please sign in to comment.