Skip to content

Commit

Permalink
Check for null with isNull as well
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens committed Apr 10, 2024
1 parent 3fa7758 commit 7436111
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static ProtoEntry serializeToProtoEntry( Map.Entry<PolyValue, PolyValue>


public static ProtoValue serialize( PolyValue polyValue ) {
if ( polyValue == null ) {
if ( polyValue == null || polyValue.isNull() ) {
return serializeAsProtoNull();
}
switch ( polyValue.getType() ) {
Expand Down

0 comments on commit 7436111

Please sign in to comment.