Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

[111] AppSync Emulator - implement toDynamoDBFilterExpression - #133

Open
asodeur wants to merge 3 commits into
little-bear-labs:masterfrom
asodeur:111_toDynamoDBFilterExpression
Open

[111] AppSync Emulator - implement toDynamoDBFilterExpression#133
asodeur wants to merge 3 commits into
little-bear-labs:masterfrom
asodeur:111_toDynamoDBFilterExpression

Conversation

@asodeur

@asodeur asodeur commented May 22, 2019

Copy link
Copy Markdown
Contributor

Initial attempt at $util.transform.toDynamoDBFilterExpression (see #111).

Not sure this already should return string. Filter expressions can contain comparison operators (<>, ...) that get escaped somewhere in VTL. I am wrapping the whole result in new String(...) which seems to hide the filter expression from VTL but feels like a dirty hack.

I will not find the time to write tests for this any time soon, sorry.

@lightsofapollo

Copy link
Copy Markdown
Contributor

@asodeur Thank you again for the follow up~ Please mark us for review so we can review your work ASAP in future :) We love contributions but only see them pop up when you open the PR and then flag us for review.

@lightsofapollo

Copy link
Copy Markdown
Contributor

@asodeur As with the other PRs I'd love at least one test that validates the success case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants