Skip to main content

sinew_models 1.1.0 copy "sinew_models: ^1.1.0" to clipboard
sinew_models: ^1.1.0 copied to clipboard

Domain, Remote, Entity, envelope bases, paging shapes, ViewState and Result.

1.1.0 #

  • ExceptionLayer.service, the SV layer for app services: a failure in a service's own step reads MODULE-SV-FUNCTION-TYPE.

1.0.0 #

  • Fix: ViewState and Result equality ignores type arguments, so a const default (Loading<Never>) equals an explicit state both ways round.
  • S1: Domain (value equality from props), Remote, Entity; the error base contract (SinewException, ExceptionLayer, ErrorMessage with ServerMessage and LocalMessage, EnvelopeDataMissing); Envelope with the optional failure() and message() hooks, EnvelopeFailure, the four envelope bases, PagingMetaEnvelope and unreachableDomainFromJson; PagingDomain, PagingMetaDomain, PagingEntity, ViewState and Result (Success(data, message) / Failure(error, stackTrace)).
  • S0: package skeleton.
0
likes
160
points
428
downloads

Documentation

Documentation
API reference

Publisher

verified publishersrctool.com

Weekly Downloads

Domain, Remote, Entity, envelope bases, paging shapes, ViewState and Result.

Repository (GitHub)
View/report issues
Contributing

Topics

#architecture #models #result #error-handling

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on sinew_models