Closed tommiii closed 5 years ago
Is possible to add a default value in the command .json schema? I'm aiming to fire command to create an aggregate without defining all the fields.
not directly in the schema but you can always do it in the commandHandle... valueFromPayload || defaultValue
awesome, thanks!
Is possible to add a default value in the command .json schema? I'm aiming to fire command to create an aggregate without defining all the fields.