aws-samples / aws-appsync-resolver-samples

MIT No Attribution
56 stars 8 forks source link

toDynamoDBFilterExpression filter type #4

Closed jbreuil closed 1 year ago

jbreuil commented 1 year ago

Looking at the filter sample and the documentation it is hard to understand how we should specify the type of filter to be applied by toDynamoDBFilterExpression.

  const filter = JSON.parse(
    util.transform.toDynamoDBFilterExpression({
      boolVar: { eq: true },
    })
  );

This does not seem to work for example.