HugoPelletier commented on a change in pull request #11595:
URL: https://github.com/apache/pulsar/pull/11595#discussion_r685474487



##########
File path: pulsar-client-cpp/python/pulsar/schema/definition.py
##########
@@ -393,6 +413,9 @@ def python_type(self):
         return list
 
     def validate_type(self, name, val):
+        if val is None:
+            return None

Review comment:
       Should return the `self.default()`, not `None` automatically




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


Reply via email to