AlbumenJ commented on code in PR #13553:
URL: https://github.com/apache/dubbo/pull/13553#discussion_r1434651939


##########
dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java:
##########
@@ -602,6 +603,11 @@ public static void validateProtocolConfig(ProtocolConfig 
config) {
                 checkMultiExtension(config.getScopeModel(), Codec2.class, 
CODEC_KEY, config.getCodec());
                 checkMultiExtension(
                         config.getScopeModel(), Serialization.class, 
SERIALIZATION_KEY, config.getSerialization());
+                checkMultiExtension(
+                        config.getScopeModel(),
+                        Serialization.class,
+                        PREFER_SERIALIZATION_KEY,
+                        config.getPreferSerialization());

Review Comment:
   The value of `prefer.serialization` should be splitted first cause it can be 
`fastjson2,hessian2`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to