aws-mobile-appsync-sdk-js
aws-mobile-appsync-sdk-js copied to clipboard
Collection Responses with id not working as expected
Note: If your issue/feature-request/question is regarding the AWS AppSync service, please log it in the official AWS AppSync forum
Do you want to request a feature or report a bug? Bug
What is the current behavior?
When quering an api collection with an id field. If the id fields are the same the whole collection has the same properties.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Below are the steps to reproduce it.
query MyQuery($id: String = "") { queryRightToWorksById(id: $id) { items { attachments createdAt id description expiryDate modifiedAt notes companyId rightToWorkId status userId type } nextToken } }
The response I get back from the network tab.

The passed result

What is the expected behavior? I expect the result to be the same as the result from the network tab. Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions? I am using angular 10. This is the first time coming across this bug.