cqrs 7.0.0 copy "cqrs: ^7.0.0" to clipboard
cqrs: ^7.0.0 copied to clipboard

A library for convenient communication with CQRS-compatible backends, using queries and commands.

7.0.0 #

  • Breaking: Rename CQRS and similar to Cqrs per Effective Dart.
  • Breaking: Remove IRemoteQuery and IRemoteCommand. Use their equivalents Query and Command respectively.
  • Add new transport type Operation which is a Query with side effects of a Command.

6.2.1 #

  • Add human-readable toString method for CommandResult.

6.2.0 #

  • Export CommandResult from /contracts.dart.

6.1.0 #

  • CommandResult and ValidationError now implement the toJson() method.

6.0.0 #

  • Stable null-safe release.
  • Breaking: Bump minimum Dart version to 2.12.

5.0.0 #

  • Revert to 4.1.1
  • Breaking: Add propertyName field in ValidationError.
  • Breaking: Remove deprecated success parameter from CommandResult constructor.

5.0.0-nullsafety.1 #

  • Add propertyName field in ValidationError.

5.0.0-nullsafety.0 #

  • Breaking: Migrate to null-safety.
  • Breaking: Bump minimum Dart version to 2.12 prerelease.
  • Breaking: Remove deprecated success parameter from CommandResult constructor.

4.1.1 #

  • Fix exception thrown when the query result is null.

4.1.0 #

  • Add success and failed constructors in CommandResult.
  • Add failed getter in CommandResult.
  • Make success field in CommandResult a getter. This is compatible with how the backend works.
  • Deprecate success param in CommandResult constructor.

4.0.0+2 #

  • Refresh pub listing.

4.0.0 #

  • Complete rewrite of a library with breaking changes.
  • Add headers parameter in run and get methods.
  • Add hasError method in CommandResult.
  • Pass HTTP client directly to CQRS constructor instead as a factory method.
  • package:cqrs/contracts.dart utility library to use in contracts.

3.0.2 #

  • Add possibility to add custom headers

3.0.1 #

  • Fix the returned null value directly from query

3.0.0 #

  • Remove deprecated @virtual annotations
  • Rename toJsonMap to toJson
  • Fix readme

2.0.1+1 #

  • Update readme

2.0.1 #

  • Fix validation errors

2.0.0 #

  • Remove normalizeDate function
  • Add @virtual annotations

1.0.6 #

  • From now CQRSException implements Exception

1.0.5 #

  • Overload toString() on CQRSException in case of treating it like dynamic

1.0.4 #

  • Fix command result JSON validation.

1.0.3 #

  • Query resultFactory only argument decodedJson is now of dynamic type. It's due to a fact, that it can be more than a map, i.e. an array of maps.

1.0.2 #

  • Removed useless oauth dependency. Now this package depends only on http.
24
likes
140
pub points
57%
popularity

Publisher

verified publisherleancode.co

A library for convenient communication with CQRS-compatible backends, using queries and commands.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

http

More

Packages that depend on cqrs