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.
When extending the base facade you're required to provide a constructor along the lines of:
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 thebuildFacade()factory.