Skip to content

Comments

v1.9.3-beta.6#128

Merged
gmpassos merged 9 commits intomasterfrom
postgres-3.5
May 14, 2025
Merged

v1.9.3-beta.6#128
gmpassos merged 9 commits intomasterfrom
postgres-3.5

Conversation

@gmpassos
Copy link
Contributor

@gmpassos gmpassos commented Apr 26, 2025

  • TypeInfoEntityExtension:

    • entityType: also handle List<Entity>, returning the List generic type.
  • args: ^2.7.0

  • postgres: ^3.5.6

  • archive: ^4.0.7

  • coverage: ^1.12.0

- args: ^2.7.0
- postgres: ^3.5.6
- archive: ^4.0.7

- coverage: ^1.12.0
@codecov
Copy link

codecov bot commented Apr 26, 2025

Codecov Report

Attention: Patch coverage is 49.09091% with 56 lines in your changes missing coverage. Please review.

Project coverage is 65.32%. Comparing base (aacde0a) to head (869b145).
Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
lib/src/bones_api_initializable.dart 46.26% 36 Missing ⚠️
lib/src/bones_api_entity_db_sql.dart 50.00% 14 Missing ⚠️
lib/src/bones_api_extension.dart 45.45% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   65.42%   65.32%   -0.10%     
==========================================
  Files          60       60              
  Lines       19909    19977      +68     
==========================================
+ Hits        13025    13050      +25     
- Misses       6884     6927      +43     
Flag Coverage Δ
unittests 65.32% <49.09%> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  - `entityType`: also handle `List<E>`, returning the `List` generic type (`E`).
  - Added `toCastedList`.
  - `resolveFieldsValues`: ensure that `List<E>` fields are casted to the list, using `entityType.toCastedList(val)`.
  - `_checkDBTableScheme`:
    - Separate references and collection references in `referenceFields` and `collectionReferenceFields`.
  - `_DBTableCheck`: added field `missingCollectionReferenceColumns`.
  - Added `toCastedList`.

- `DBSQLAdapter`:
  - `_checkDBTableScheme`:
    - Separate references and collection references in `referenceFields` and `collectionReferenceFields`.
  - `_DBTableCheck`: added field `missingCollectionReferenceColumns`.

- `EntityHandler`:
  - `resolveFieldsValues`: ensure that `List<E>` fields are casted to the list, using `entityType.toCastedList(val)`.
- `Initializable`: better handling of errors of dependencies while initializing.

- async_extension: ^1.2.15
@gmpassos gmpassos merged commit ea789f9 into master May 14, 2025
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant