redux_entity 1.1.1 copy "redux_entity: ^1.1.1" to clipboard
redux_entity: ^1.1.1 copied to clipboard

Library for maintaining collections in a Redux store. Based on @ngrx/entity.

[1.1.1] #

  • Fix a regression where RequestCreateOne.entity was renamed to request. 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 with RequestCreatePayload

[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

[1.0.0] #

  • Sound null safety

  • [0.2.0] #

  • Implement LocalEntityReducer

[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!
0
likes
110
pub points
42%
popularity

Publisher

unverified uploader

Library for maintaining collections in a Redux store. Based on @ngrx/entity.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

redux

More

Packages that depend on redux_entity