cornerstone-v1.0.0
moseskarunia
released this
02 Feb 11:39
·
2 commits
to master
since this release
- Breaking:
CornerstonePersistentRepositoryMixin
'sloadData()
is now removed. You just need to add dependency ofconvertToSnapshot
to persistent repository withCornerstonePersistentRepositoryMixin
. The mixin now handles loading data, and assigning it torepo.snapshot
(Means less code to write!). The snapshot is now namedsnapshot
, and declared in the mixin (you can override it). If you want to use other names for snapshot, you need to overrideload
. You can overridesnapshot
if you want to assign default value to it (Seeauto_persistent_people_repository.dart
in example). - First stable release of cornerstone! From now on, breaking changes will only introduced with new major version.