Skip to content

Commit

Permalink
feat: include query as annotation operation
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Dec 27, 2023
1 parent ac4689a commit fbec7de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public enum RepositoryType {

private static final Set<RepositoryType> KEY_WORLD_METHODS = EnumSet.of(FIND_BY, DELETE_BY, COUNT_BY, EXISTS_BY);

private static final Set<RepositoryType> OPERATION_ANNOTATIONS = EnumSet.of(INSERT, SAVE, DELETE, UPDATE);
private static final Set<RepositoryType> OPERATION_ANNOTATIONS = EnumSet.of(INSERT, SAVE, DELETE, UPDATE, QUERY);
private final String keyword;

private final Class<? extends Annotation> annotation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@

class RepositoryTypeTest {



@ParameterizedTest
@MethodSource("getBasicRepositoryMethods")
void shouldReturnDefaultAtBasicRepository(Method method) {
Expand Down

0 comments on commit fbec7de

Please sign in to comment.