Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flexible schema mapping POC #3635

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nirinchev
Copy link
Member

@nirinchev nirinchev commented Jun 26, 2024

Notes doc

TODO:
Must-have

  • (NI) Implement the RealmValue.As conversion
  • (LJ) Write the generated MyModel code by hand
  • (LJ) Write some tests that use MyModel and read/write data using the strongly-typed properties

Nice to have

  • (NI) Wire up notification mapping for properties and add some tests
  • (NI+LJ) Write the generator that emits the IDynamicObject implementation
    • Code generator
    • Fody weaver part (if we use .NET)
  • Add support for nested links (embedded document/dictionary - i.e. not links to another collection)
  • Add support for proxying list/dictionary (e.g. List instead of List)
  • Error handling/missing property strategies

Copy link

coveralls-official bot commented Jun 26, 2024

Pull Request Test Coverage Report for Build 9681982895

Details

  • 5 of 10 (50.0%) changed or added relevant lines in 1 file are covered.
  • 7 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 81.304%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Realm/Realm/DatabaseTypes/RealmValue.cs 5 10 50.0%
Files with Coverage Reduction New Missed Lines %
Realm/Realm/Handles/SessionHandle.cs 7 84.55%
Totals Coverage Status
Change from base Build 9661237267: -0.05%
Covered Lines: 6838
Relevant Lines: 8257

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant