Skip to content

Change the way redis_client deserializes empty strings. #24

@enyo

Description

@enyo

In the current version, redis_client deserializes empty values to null.

Since redis doesn't support null values by itself that's all empty Strings are thus converted to null.

I propose to change this behaviour so null and "" (empty String) both deserialize to "" (empty String). I think it prevents errors, and theoretically redis always stores an empty String, not a null value.

@dartist/owners what do you say?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions