Skip to content

DataStore - Add OutboxMutationFailed Hub Event Type #3102

Open
@Equartey

Description

@Equartey

Is your feature request related to a problem? Please describe.

aws-amplify/amplify-flutter#3452

Amplify-Android supports a DataStore hub event called OutboxMutationFailed.

This event is described as:

Dispatched when publishing a mutation fails

HubPayload outboxMutationFailed contains:

  • modelName (String): the name of the model that failed to publish
  • element:
    - model (Model): the model instance that failed to publish
    - errorType (MutationErrorType): error type that occurred
    - operation (MutationType): type of mutation that failed

Amplify Flutter users would like to have feature parity between Amplify-Swift and Amplify-Android to ensure consistency between error handling on the respective platform.

Describe the solution you'd like

Amplify-Swift should support OutboxMutationFailed event type and send when appropriate.

Describe alternatives you've considered

N/A

Is the feature request related to any of the existing Amplify categories?

DataStore

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions