Skip to content

v0.4.0

Compare
Choose a tag to compare
@Jcparkyn Jcparkyn released this 06 Mar 01:37
· 79 commits to main since this release

Added

  • Endpoint.TryGetCachedResult method, to retrieve a cached result synchronously for the given query argument.
  • New IQuery and IQuery<TArg, TResult> interfaces, to help with testing or writing methods that operate on queries.
  • Lots more tests (currently 96% line coverage in Phetch.Core).
  • Lots of improvements to the sample projects (in samples).

Changed

  • Public constructors for Query are now deprecated, because they serve very little value since adding Endpoints. Instead, just create an endpoint and call .Use(). These constructors will be removed in a future release.

Fixed

  • Exceptions in OnSuccess/OnFailure callbacks are now caught, instead of being incorrectly treated as a query failure.