[Datastore errorhandler] Incorporate a variable in error object to obtain the initial request. #4873
Open
2 of 14 tasks
Labels
datastore
Issues related to the DataStore Category
feature-request
A request for a new feature or an enhancement to an existing API or category.
Description
When an error is triggered within the Datastore error handler, there isn't any mechanism to obtain the original request for the client to retry. It's necessary to establish a means to access the request for the client to retry any failed requests effectively.
Categories
Steps to Reproduce
1.Create models as in schema
2. Initialize Datastore
3. Do Datastore.save()
4. Fails all incoming request in appsync or intercept iOS simulator request using any interceptor tool like Charles proxy OR Proxyman.
5. Analyze
AmplifyException
instance to retrieve original request.Screenshots
No response
Platforms
Flutter Version
3.19.0
Amplify Flutter Version
1.7.0
Deployment Method
Amplify CLI
Schema
The text was updated successfully, but these errors were encountered: