From 3d0f19b53b6c3f5daebd09fcab94786533fe272c Mon Sep 17 00:00:00 2001 From: Freeman Liu Date: Wed, 30 Aug 2023 00:09:01 +0800 Subject: [PATCH] upgrade protobuf 3.24.2 --- gradle.properties | 2 +- .../feature/exceptionhandling/annotation/GrpcAdvice.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index e9f41f45..2d8e6fc1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,7 +12,7 @@ protobufGradlePluginVersion=0.9.4 # required JDK 11 bufGradlePluginVersion=0.8.5 grpcVersion=1.57.2 -protobufVersion=3.24.1 +protobufVersion=3.24.2 pgvVersion=1.0.2 # Code quality diff --git a/grpc-boot-autoconfigure/grpc-server-boot-autoconfigure/src/main/java/com/freemanan/starter/grpc/server/feature/exceptionhandling/annotation/GrpcAdvice.java b/grpc-boot-autoconfigure/grpc-server-boot-autoconfigure/src/main/java/com/freemanan/starter/grpc/server/feature/exceptionhandling/annotation/GrpcAdvice.java index 6bb5adea..36c9b62f 100644 --- a/grpc-boot-autoconfigure/grpc-server-boot-autoconfigure/src/main/java/com/freemanan/starter/grpc/server/feature/exceptionhandling/annotation/GrpcAdvice.java +++ b/grpc-boot-autoconfigure/grpc-server-boot-autoconfigure/src/main/java/com/freemanan/starter/grpc/server/feature/exceptionhandling/annotation/GrpcAdvice.java @@ -13,8 +13,13 @@ * *

Usually used with {@link GrpcExceptionHandler @GrpcExceptionHandler} together. * + *

{@link GrpcAdvice} can work with {@link org.springframework.core.annotation.Order} and {@link org.springframework.core.Ordered}, + * exceptions will be handled in order. + * * @author Freeman * @see GrpcExceptionHandler + * @see org.springframework.core.annotation.Order + * @see org.springframework.core.Ordered */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME)