You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Local graphql client is not getting data from DataStore
To Reproduce
Steps to reproduce the behavior:
Create a new model.
After codegen use the DataStore to create a new model by using DataStore.save(new Model(input)). Models created successfully and can be read by DataStore.query(Model,Predicate.ALL) and are also synced to DynamoDB live.
Create mock env by using amplify mock.
Try the list method auto generated by amplify to list the added model.
Response is empty.
If I use the same approach on AppSync console. it gives the data stored in the model.
DataStore is enabled for entire API
Expected behavior
Local grahql client should return the data created by DataStore.
Device:[Macbook pro]
OS: [Mac OS Bigsur 11.2.3]
Browser [Chrome]
Amplify Version : 4.45.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Local graphql client is not getting data from DataStore
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Local grahql client should return the data created by DataStore.
Device:[Macbook pro]
OS: [Mac OS Bigsur 11.2.3]
Browser [Chrome]
Amplify Version : 4.45.1
The text was updated successfully, but these errors were encountered: