z7658329 commented on code in PR #2061: URL: https://github.com/apache/incubator-hugegraph/pull/2061#discussion_r1059230635
########## hugegraph-core/src/main/java/org/apache/hugegraph/structure/HugeEdge.java: ########## @@ -202,6 +204,11 @@ public <V> Property<V> property(String key, V value) { E.checkArgument(this.label.properties().contains(propertyKey.id()), "Invalid property '%s' for edge label '%s'", key, this.label()); + if (value == null) { + this.removeProperty(propertyKey.id()); Review Comment: if remove null value's property, may cause tinkerpop ut failed ? -- 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: dev-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org