leosanqing commented on code in PR #4712:
URL: https://github.com/apache/inlong/pull/4712#discussion_r901795252
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/JsonUtils.java:
##########
@@ -50,6 +51,7 @@ public class JsonUtils {
static {
OBJECT_MAPPER.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS,
false);
+
OBJECT_MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES,
false);
Review Comment:
Should this attribute be added with caution? If so, after we modify the
attribute name, the statement that should have parsed the error will not be
reported, and cause invisible bugs
I think this should be placed on the corresponding class, no global settings
are required
--
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]