awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
921 stars 266 forks source link

Mutate method doesn't return correct types #607

Open darthmeme opened 3 years ago

darthmeme commented 3 years ago

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? Report a bug

What is the current behavior? The mutate method doesn't return any types

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Just install aws-appsync and follow the basic setup in the README

What is the expected behavior? It should return types the same way that query does

Query: image

Mutate (only returns any): image

Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions? Node.js: 14.7.0 macOS: 10.15.4 AWS AppSyncClient: 4.0.1

Didn't test previous versions.