aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
506 stars 32 forks source link

@aws-appsync/utils Dynamodb operations don't seem to support Sets #375

Open EHadoux opened 2 weeks ago

EHadoux commented 2 weeks ago

Hello, I don't know if it's me but I'm rather confused by the whole DynamoDBOperation set of helpers in @aws-appsync/utils/dynamodb. I need to add to a StringSet in my mutation inside a Javascript resolver.

Also, I suppose removing from a StringSet is not through decrement nor remove. Does anyone have any pointers? In the meantime I'm writing the whole thing with expression and expressionValues but that somewhat defeats the whole purpose of the library. Thanks!

PS: I could not find the source for this library, that would definitely help answer my question. Where can we find it?