dart_store: ^0.2.3 copied to clipboard
Simple, evented data-store framework for dart, which support event driven development.
- Addressed analyzer warnings.
- Addressed analyzer warnings and maintenance hint in pub.
- Provided example and test cases for the store.
- Readme updated.
- Updated store to provide sync and asyn APIs to retrieve records.
- Segregated the sortable and filterable framework code for data_store.
- Updated framework to accept filter parameters.
- This is provided as an extension to the existing API.
- A new datastructure shall be introduced in future to accomodate any future filter mechanism.
- Provided support for disable sort/disable filter.
- Faster sort is enabled with optimized sorters.
- Optimized performance of the framework.
- Updated memory store to improve sort performance as it uses sorted collection, which automatically performs sorting.
- Issues with filter operation. Added support for forceFilter, which will enable user to perform force filtering the store, even if the store is already filterd - Scenario where an update causes the record to be filtered out would be an example.
- Setting/getting key independent of fields.
- Key would be set or get whether it is defined in fields for the model.
- Updated the parser to use new API to set value to model.
- Updated model and store generators to accept model/store name respectively.
- Store generator map should contain config for store generation also, this is a mandatory field. Refer example section for how to pass config to store while creating it.
- Setting up ID/Key value was changing the id field.
- Provided a setValue API to set values in the value configuration.
- idField is made static, so this can be accessed throug the Class name.
- performSanity API is provided to enable sanity check when setting values. This API shall be implemented by derived class.
- Provided values => a getter to retrieve the values from model.
- Updated DI mechanism for the storage and other modules.
- Provided support for Sortable and Filterable.
- Added example.dart, different examples. Stable version.
- Added CHANGELOG.md
First reviewed version.