'Amplify Graphql appsync data return illogic bug
When I create an item, the item has created and I can get the item by id but when i get the list items doesn't contain the item created.
type Order @model @searchable{
id: ID! @primaryKey
ref: String!
user: User @belongsTo
}
// first query works!!
query MyQuery {
getOrder(id: "idxamplee") {
id
ref
}
}
//second query not work
query MyQuery {
listOrders() {
items {
id
ref
}
}
}
amplify appsync dynamodb synchronization schemaUrl
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
