Skip to content

How would you deal with inherited types of a model? #31

Open

Description

@vertillo

Let's say you have different types of Batch that deal with different types of OrderLine, each type is derived from their related base classes.
Consider this use case: you can sale a Batch to a buyer that can verify the purchase by validating a proof using an information contained in another object that is stored on the network that you can retrieve by a different service. Each type of Batch implements a different type of validation.
How would you design this case using the architecture depicted on the book?

Activity

  1. changed the title [-]How would you deal with inherited type of a model?[/-] [+]How would you deal with inherited types of a model?[/+] on May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions