electrodb icon indicating copy to clipboard operation
electrodb copied to clipboard

Query validation error - gt and lte create erroneous filter expression

Open rcoundon opened this issue 1 year ago • 17 comments

Describe the bug When using gt or lte ElectroDB adds an erroneous filter expression which can cause the DynamoDB client to throw a validation error because filter expressions cannot contain SK attributes.

ElectroDB Version 2.5.1

ElectroDB Playground Link ElectroDB Playground

Entity/Service Definitions All in Playground

Expected behavior No filter expression to be added

Errors

Filter Expression can only contain non-primary key attributes

rcoundon avatar Mar 29 '23 14:03 rcoundon