Skip to content

Refactor complex operations to backend service actions #1570

Open
@cartermak

Description

Checked for duplicates

No - I haven't checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

Some common operations are currently implemented with complex front-end logic that makes it difficult to reproduce the capability via the Aerie API. (Deleting an activity is the one that spawned the thought.)

Describe the feature request

It would be nice if complex logic like this were more frequently implemented as Hasura actions that interact with a back-end service so that client applications don't need to duplicate logic implemented in the UI. I think the solution for plan upload was a great demonstration of this pattern (although, from the standpoint of separating concerns, I expect the merlin server would be a better final destination for this logic instead of the Aerie Gateway.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    featureA new feature or feature request

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions