dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carryxyh (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] carryxyh commented on issue #2986: dubbo最佳实践问题关于dubbo入参需不需要校验
Date Wed, 19 Dec 2018 08:50:05 GMT
最佳实践指的是如何使用dubbo。我个人认为参数校验不是dubbo的最佳实践,而是编码规范的最佳实践,同理Spring的最佳实践不会告诉你接口该不该以驼峰命名法命名。理论上任何方法都需要做参数校验。

Best practice refers to how to use dubbo. I personally think that parameter validation is
not a best practice for dubbo, but a best practice for coding specifications. Similarly, Spring's
best practices won't tell you if the interface should be named after the hump nomenclature.
In theory, any method needs to do parameter verification.

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2986 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message