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

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

[1.2.0] #

What's Changed #

New Contributors #

Full Changelog: https://github.com/careapp-group/dart_redux_entity/compare/v1.1.2...v1.2.0

[1.1.2] #

  • Fix loading properties not being set when using RequestCreateWith and RequestUpdateWith actions.

[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
130
points
494
downloads

Publisher

verified publishercareapp.com.au

Weekly Downloads

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