Skip to content

Commit

Permalink
Fixed redefine parameter constraint config for method.
Browse files Browse the repository at this point in the history
jakarta.validation.ConstraintDeclarationException: HV000151: A method overriding another method must not redefine the parameter constraint configuration, but method GrpcProjectionAdminEventStore#createProjection(StreamId, boolean, TypeName[]) redefines the configuration of ProjectionAdminEventStore#createProjection(StreamId, boolean, TypeName[])
  • Loading branch information
michael-schnell committed Jan 21, 2024
1 parent e1fbf23 commit 4b4cf0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void disableProjection(StreamId projectionId) throws StreamNotFoundExcept
}

@Override
public void createProjection(StreamId projectionId, boolean enable, @NotNull TypeName... eventType) throws StreamAlreadyExistsException {
public void createProjection(StreamId projectionId, boolean enable, TypeName... eventType) throws StreamAlreadyExistsException {
createProjection(projectionId, enable, Arrays.asList(eventType));
}

Expand Down

0 comments on commit 4b4cf0f

Please sign in to comment.