How do you handle the situation where you have an “upload file” command requested by a client with Axon ?
I have to store document files like PDF, Images, etc. This documents are linked to a particular aggregates.
Do you attach document binary content in the command, and store the file with a particular repository in the command handlers ?
How do you construct the event (like “FileDocumentAddedToMyAggregateEvent”) ?