wangchengming666 edited a comment on issue #9847:
URL: https://github.com/apache/dubbo/issues/9847#issuecomment-1081302264


   翻了以前的一些issue 比如 #8212 和 #5122 都提到过这个问题,我认为这段强校验的代码没必要存在。
   ```
           if (actualTypeArgsLength != 2) {
               throw new IllegalArgumentException(MessageFormat.format(
                       "[ServiceDefinitionBuilder] Map type [{0}] with 
unexpected amount of arguments [{1}]."
                               + Arrays.toString(actualTypeArgs), type, 
actualTypeArgs));
           }
   ```
   虽然可以通过SPI来扩展,但是还是给用户带来了一定的困扰。


-- 
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