feat(preloader): add preloadOnce to preload a relationship only once #7
Annotations
10 errors and 1 warning
Run npm run typecheck:
src/orm/base_model/index.ts#L418
Argument of type 'HasOne' is not assignable to parameter of type 'RelationshipsContract'.
|
Run npm run typecheck:
src/orm/base_model/index.ts#L429
Argument of type 'HasMany' is not assignable to parameter of type 'RelationshipsContract'.
|
Run npm run typecheck:
src/orm/base_model/index.ts#L451
Argument of type 'ManyToMany' is not assignable to parameter of type 'RelationshipsContract'.
|
Run npm run typecheck:
src/orm/base_model/index.ts#L462
Argument of type 'HasManyThrough' is not assignable to parameter of type 'RelationshipsContract'.
|
Run npm run typecheck:
src/orm/query_builder/index.ts#L366
Conversion of type 'ModelQueryBuilder' to type 'ModelQueryBuilderContract<LucidModel, ClonedResult>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run npm run typecheck:
src/orm/query_builder/index.ts#L702
Type 'this' is not assignable to type 'ModelQueryBuilderContract<LucidModel, LucidRow>'.
|
Run npm run typecheck:
src/orm/query_builder/index.ts#L842
Property 'pojo' in type 'ModelQueryBuilder' is not assignable to the same property in base type 'ModelQueryBuilderContract<LucidModel, LucidRow>'.
|
Run npm run typecheck:
src/orm/relations/base/query_builder.ts#L20
Class 'BaseQueryBuilder' incorrectly implements interface 'RelationQueryBuilderContract<LucidModel, LucidRow>'.
|
Run npm run typecheck:
src/orm/relations/base/sub_query_builder.ts#L20
Class 'BaseSubQueryBuilder' incorrectly implements interface 'RelationSubQueryBuilderContract<LucidModel>'.
|
Run npm run typecheck:
src/orm/relations/belongs_to/query_builder.ts#L136
Property 'clone' in type 'BelongsToQueryBuilder' is not assignable to the same property in base type 'BaseQueryBuilder'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading