Skip to content

v1.7.0 API improvements

Latest
Compare
Choose a tag to compare
@le-nn le-nn released this 19 Feb 06:10
· 1 commit to main since this release

What's Changed

  • API Improvements
    Stopped covariance of IStore<object, object> and made IStore an interface.
    Changed the TMessage constraint from class to notnull in Store<TState, TMessage>.

Changed the class that notifies state changes from AbstractStore to derive from the more general StateObservable.
https://github.com/le-nn/memento/blob/main/src/Memento.Core/StateObservable.cs

Full Changelog: v1.6.0...v1.7.0