Open
Description
Description
The query method in Amplify API Amplify.API.query<T>
does not throws when internet is disconnected in between the call.
Categories
- Analytics
- API (REST)
- API (GraphQL)
- Auth
- Authenticator
- DataStore
- Notifications (Push)
- Storage
Steps to Reproduce
- Try any GraphQL response as mentioned below, kill the internet in between the call
- Expected: Query function should throw
- Actual: It does not throws and the call is open for more than 10-15 mins
- version
amplify_api: ^1.6.1
GraphQLResponse<T>? response;
try {
response = await Amplify.API.query<T>(request: request).response;
} catch (e, s) {
// print error
response = null;
Screenshots
No response
Platforms
- iOS
- Android
- Web
- macOS
- Windows
- Linux
Flutter Version
3.16.9
Amplify Flutter Version
1.6.1
Deployment Method
Amplify CLI (Gen 1)
Schema
No response