feat(preloader): add preloadOnce to preload a relationship only once #7
checks.yml
on: push
lint
2m 2s
typecheck
2m 0s
Matrix: test-mssql
Matrix: test-mysql
Matrix: test-postgres
Matrix: test-sqlite
Annotations
10 errors and 16 warnings
typecheck:
src/orm/base_model/index.ts#L418
Argument of type 'HasOne' is not assignable to parameter of type 'RelationshipsContract'.
|
typecheck:
src/orm/base_model/index.ts#L429
Argument of type 'HasMany' is not assignable to parameter of type 'RelationshipsContract'.
|
typecheck:
src/orm/base_model/index.ts#L451
Argument of type 'ManyToMany' is not assignable to parameter of type 'RelationshipsContract'.
|
typecheck:
src/orm/base_model/index.ts#L462
Argument of type 'HasManyThrough' is not assignable to parameter of type 'RelationshipsContract'.
|
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.
|
typecheck:
src/orm/query_builder/index.ts#L702
Type 'this' is not assignable to type 'ModelQueryBuilderContract<LucidModel, LucidRow>'.
|
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>'.
|
typecheck:
src/orm/relations/base/query_builder.ts#L20
Class 'BaseQueryBuilder' incorrectly implements interface 'RelationQueryBuilderContract<LucidModel, LucidRow>'.
|
typecheck:
src/orm/relations/base/sub_query_builder.ts#L20
Class 'BaseSubQueryBuilder' incorrectly implements interface 'RelationSubQueryBuilderContract<LucidModel>'.
|
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'.
|
test-sqlite (better_sqlite, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mssql (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-sqlite (sqlite, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mysql (5.7, mysql_legacy, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-postgres (20, 11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-postgres (20, 14)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-sqlite (better_sqlite, 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mssql (21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-sqlite (sqlite, 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-postgres (21, 14)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-postgres (21, 11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mysql (5.7, mysql_legacy, 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mysql (8.0, mysql, 20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-mysql (8.0, mysql, 21)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|