Skip to content

Pet and Order status can get out of sync #309

@arosien

Description

@arosien

(sort of a design issue...)

Both Pet and Order have their own status which is updated independently. That is, nothing enforces they correspond, like OrderStatus.Delivered implies PetStatus.Adopted.

Some ideas to reconcile:

  • status: PetStatus could be removed from Pet altogether.
  • OrderService could update the PetRepository as necessary, and other methods to update the PetStatus could be limited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions