Skip to content

4.0.0 - RequestConvertible and MockProvider

Compare
Choose a tag to compare
@vadymmarkov vadymmarkov released this 23 Feb 15:39
· 124 commits to master since this release

⚠️ Breaking change

  • Endpoint protocol was renamed to RequestConvertible in order to make it more descriptive.
  • Mock property is removed from Request. When the mock is created in one single place it is not really flexible for unit testing if you want to inject JSON dictionary or custom file dynamically. That's why MockProvider was introduced in order to improve mock behaviour.

See https://github.com/hyperoslo/Malibu/pull/60