Skip to content

Code Duplication #202

Description

@colesanders

When extending the base facade you're required to provide a constructor along the lines of:

export EntityFacade extends EntityFacadeBase {
    constructor(private store: Store) {
        super(Entity, store);
    }
}

However, as the base facade comes from the buildState() call, it seems to be a pointless extra. The entity could instead be provided to the facade through the buildFacade() factory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedApproved for ImplementationenhancementNew feature or requestproposalProposal for New Feature/Functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions