redux_entity 1.1.2
redux_entity: ^1.1.2 copied to clipboard
Library for maintaining collections in a Redux store. Based on @ngrx/entity.
[1.1.2] #
- Fix loading properties not being set when using
RequestCreateWith
andRequestUpdateWith
actions.
[1.1.1] #
- Fix a regression where
RequestCreateOne.entity
was renamed torequest
. Oops.
[1.1.0] #
-
Adds new Request actions for Create / Update that allows you to specify a request payload type that is different to the entity. This is useful for APIs where, for example, the payload required to create an object is a subset of the entity that is created. For example:
class RequestCreatePayload { String name; } class Entity { String id; String name; } final action = RequestCreateOneWith<Entity, RequestCreatePayload>(RequestCreatePayload()..name = 'Michael');
The way to read this is Request Create One
Entity
withRequestCreatePayload
[1.0.5] #
- Fixes pubspec to have test in dev dependencies
[1.0.4] #
- Changes FailCreateOne.entity to be optional
[1.0.3] #
- Fixes a type bug where RemoteEntityState.fromJson() would fail.
[1.0.2] #
- Further reduce version requirement for
test
package to 1.16.0, the first null-safe version
[1.0.1] #
- Reduce version requirement for
test
package
[0.1.1] #
- Relax type for Deserializer, makes possible to store list entities
[0.1.0] #
- Add caching support for the RetrieveAll actions
[0.0.1] - Initial Release #
- Initial Release!