Skip to content

Commit

Permalink
Revert "return nil instead of NewNullValue()"
Browse files Browse the repository at this point in the history
This reverts commit f9b52d7.
  • Loading branch information
khaf committed Nov 28, 2024
1 parent 11d861f commit 28b36ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion value.go
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ func bytesToKeyValue(pType int, buf []byte, offset int, length int) (Value, Erro
return ListValue(v), nil

case ParticleType.NULL:
return nil, nil
return NewNullValue(), nil

default:
return nil, newError(types.PARSE_ERROR, fmt.Sprintf("ParticleType %d not recognized. Please file a github issue.", pType))
Expand Down

0 comments on commit 28b36ed

Please sign in to comment.