EntityCreator instances can apply a create entity command to create entities of a given type
| 26 | |
| 27 | // EntityCreator instances can apply a create entity command to create entities of a given type |
| 28 | type EntityCreator[T models.Entity] interface { |
| 29 | EntityMarshaller[T] |
| 30 | |
| 31 | // ApplyCreate creates the entity described by the given command |
| 32 | ApplyCreate(cmd *CreateEntityCommand[T], ctx boltz.MutateContext) error |
| 33 | } |
| 34 | |
| 35 | // EntityUpdater instances can apply an update entity command to update entities of a given type |
| 36 | type EntityUpdater[T models.Entity] interface { |
no outgoing calls
no test coverage detected