I started with my first application that uases event sourcing. So I started with the quick start guide which was quite clear and easy. Now I implement some real-world entities where I’m a bit unsure how granular commands should be.
Example: For creating a new domain object there is a simple (crud like) form. The user can add some basic information there (e.g. title, description). Later it would be possible to change those values (similar or same form). So should I create one CreateEntityCommand containing all those fields or should I create separate commands for each field?
It might be that the user later edits only the title. So same question here. Should I use a UpdateEntityCommand and let the domain object decide that only fields that are not-null on the command gets changed? Or should I create a command for each field?