pinchbv / floor

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications
https://pinchbv.github.io/floor/
Apache License 2.0
947 stars 190 forks source link

Support embedded objects #829

Open hendrikvdkaaden opened 3 months ago

hendrikvdkaaden commented 3 months ago

This pull request introduces support for embedded objects in the Floor library. Initially, I referred to pull request #565 but due to the extensive outdated changes, I decided to start fresh to avoid complex merge conflicts.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.31%. Comparing base (9876f62) to head (d3d0079).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #829 +/- ## ============================================ + Coverage 0 94.31% +94.31% ============================================ Files 0 10 +10 Lines 0 211 +211 ============================================ + Hits 0 199 +199 - Misses 0 12 +12 ``` | [Flag](https://app.codecov.io/gh/pinchbv/floor/pull/829/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pinchbv) | Coverage Δ | | |---|---|---| | [floor](https://app.codecov.io/gh/pinchbv/floor/pull/829/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pinchbv) | `94.31% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pinchbv#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

stephanmantel commented 3 months ago

This is already a good thing, but I noticed that it does not work if the embeded attribute is nullable. Can you add support for that?