aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

Collection Responses with id not working as expected

Open kuda1992 opened this issue 4 years ago • 0 comments

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. Screenshot 2021-03-16 at 09 42 19

The passed result Screenshot 2021-03-16 at 09 44 13

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.

kuda1992 avatar Mar 16 '21 09:03 kuda1992