Skip to content

Add attachment with one API call #1581

@opqdonut

Description

@opqdonut

Currently, an attachment is added and then a draft-saved command is issued to store the reference to the attachment in the application

Instead, we should have an API endpoint like /application/add-attachment?application-id=123&field-id=7 that would add the attachment to the db and emit a draft-saved event. This would simplify the logic on the UI side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Technical DebtImproving internal product quality

    Type

    No type

    Projects

    Status

    Ideas

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions