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

Samples and tests updated with relaxed final constraint for primary keys and properties #248

Merged
merged 16 commits into from
Feb 14, 2022

Conversation

desistefanova
Copy link
Contributor

@desistefanova desistefanova commented Feb 10, 2022

Removed final from properties, primary keys and lists in realm models.
Realm objects are regenerated.
All the tests and samples are tested with the new models.

test/realm_test.dart Outdated Show resolved Hide resolved
@desistefanova desistefanova changed the base branch from master to throw-error-on-primaryKey-set February 11, 2022 22:52
Base automatically changed from throw-error-on-primaryKey-set to master February 14, 2022 09:38
test/realm_test.dart Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Feb 14, 2022

Pull Request Test Coverage Report for Build 1841200469

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.35%

Totals Coverage Status
Change from base Build 1840579951: 0.0%
Covered Lines: 379
Relevant Lines: 406

💛 - Coveralls

@desistefanova desistefanova merged commit c7b0758 into master Feb 14, 2022
@desistefanova desistefanova deleted the samples_updated branch February 14, 2022 21:36
blagoev added a commit that referenced this pull request Feb 17, 2022
* remove commented notifications code

* refactor scheduler

* rerun tests

* randomize tests

* wait a bit longer for callback

* Randomize test execution ordering (#249)

Dart tests configured to be executed in random order.

* throw error on primary key set (#253)

* throw error on primary key set

* relax final on collections

fix tests

* fix setters in generated constructor to use RealmObject.set directly

* fix generator tests

* run realm_dart tests on generator change.

test only on Linux

* fix working directory

* fix workflow

* fix coverage file path

* get submodule

* clarify readme (#256)

* clarify readme

* fix link

* handle PR feedback

* fix code samples

* fix error install command message (#246)

* run CI on every change (#257)

* run CI on every change

* use stable channel on CI

* Samples and tests updated with relaxed final constraint for primary keys and properties (#248)

Samples updated not to require final for properties, primary keys and lists when generating models.

* isValid of realm list and object (#183)

* Realm object isValid and realm list isValid implementation
* Tests added for property isValid of RealmList and RealmObject

* fix scheduler
blagoev added a commit that referenced this pull request Feb 18, 2022
* Add notifications to RealmResults

* Remove GC debug code that causes flutter macos build to fail

* Rename changed to changes

* Dart specific C api for notification callbacks

* Fix ios build

* Update bindings

* Use new dart specific c-api for results notifications

* Results notifications (#242)

* fixup results notifications

* fix results type constraints

* use stable channel on CI

* Remove callback_bridge.dart and controller_builder.dart (not needed for this PR anymore)

* Update public API

* Update README and CHANGELOG regarding RealmResults.changes

* Refactor scheduler (#259)

* remove commented notifications code

* refactor scheduler

* rerun tests

* randomize tests

* wait a bit longer for callback

* Randomize test execution ordering (#249)

Dart tests configured to be executed in random order.

* throw error on primary key set (#253)

* throw error on primary key set

* relax final on collections

fix tests

* fix setters in generated constructor to use RealmObject.set directly

* fix generator tests

* run realm_dart tests on generator change.

test only on Linux

* fix working directory

* fix workflow

* fix coverage file path

* get submodule

* clarify readme (#256)

* clarify readme

* fix link

* handle PR feedback

* fix code samples

* fix error install command message (#246)

* run CI on every change (#257)

* run CI on every change

* use stable channel on CI

* Samples and tests updated with relaxed final constraint for primary keys and properties (#248)

Samples updated not to require final for properties, primary keys and lists when generating models.

* isValid of realm list and object (#183)

* Realm object isValid and realm list isValid implementation
* Tests added for property isValid of RealmList and RealmObject

* fix scheduler

* fix public API

* revert multiple tests on linux

remove dead code

* fix up public api docs

* fix tests

* fix name

* refactor Results notifications

* fix wording, samples in readmem,  changelog

Co-authored-by: blagoev <lubo@blagoev.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants