Skip to content

Mock classes child factories should depend on interface, not implementation #4351

@griest024

Description

@griest024

Feature description

Mock model classes currently usually specify child factories by implementation, e.g.:

constructor(
  protected modelFactory: DaffModelFactory
) {}

instead these should only specify the interface:

constructor(
  protected modelFactory: IDaffModelFactory<DaffModel>
) {}

Use case

No response

Prior work

No response

Daffodil version

0.90

Additional context

No response

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