Skip to content

MSetAsync Set for one Property to null #347

@kurtisane

Description

@kurtisane

Thanks for reporting an issue in NRedisStack! Please update the appropriate text below, as much data as possible really helps!

NRedisStack Version: 0.13.0

Redis Stack Version: 7.4.0-v1

Description:

When using MSetAsync and passing multiple KeyPathValues to it I can not pass in one KeyPathValue with null as value.
I have a fix for this. I need to basically map null to "null", but this is inconsistend with the Set Command.

That one does not accept "null" but only null.

This array:
image

Leads to this exception:
StackExchange.Redis.RedisServerException: expected value at line 1 column 1
at NRedisStack.Auxiliary.ExecuteAsync(IDatabaseAsync db, SerializedCommand command)
at NRedisStack.JsonCommandsAsync.MSetAsync(KeyPathValue[] KeyPathValueList)

Metadata

Metadata

Assignees

Labels

waiting-for-feedbackWe need additional information before we can continue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions