Page Contents
Home > @loopback/repository > HasManyThroughRepositoryFactory
HasManyThroughRepositoryFactory type
a factory to generate hasManyThrough repository class.
Warning: The hasManyThrough interface is experimental and is subject to change. If backwards-incompatible changes are made, a new major version may not be released.
Signature:
export declare type HasManyThroughRepositoryFactory<TargetEntity extends Entity, TargetID, ThroughEntity extends Entity, SourceID> = {
(fkValue: SourceID): HasManyThroughRepository<TargetEntity, TargetID, ThroughEntity>;
inclusionResolver: InclusionResolver<Entity, TargetEntity>;
};
References: Entity, HasManyThroughRepository, InclusionResolver