- Fix loading properties not being set when using
RequestCreateWith
andRequestUpdateWith
actions.
- Fix a regression where
RequestCreateOne.entity
was renamed torequest
. Oops.
-
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
- Fixes pubspec to have test in dev dependencies
- Changes FailCreateOne.entity to be optional
- Fixes a type bug where RemoteEntityState.fromJson() would fail.
- Further reduce version requirement for
test
package to 1.16.0, the first null-safe version
- Reduce version requirement for
test
package
-
Sound null safety
-
Implement LocalEntityReducer
- Relax type for Deserializer, makes possible to store list entities
- Add caching support for the RetrieveAll actions
- Initial Release!