kirilltitov / FDBSwift

FoundationDB client for Swift
MIT License
44 stars 4 forks source link

Extract abstract FDB and FDB.Transaction interface to Any* protocols #48

Closed kirilltitov closed 4 years ago

kirilltitov commented 4 years ago

Currently all FDB and FDB.Transaction features are concrete, and therefore not really (at all) mockable.

Public interface should be extracted into protocols AnyFDB and AnyFDBTransaction.

This change should be treated as API-breaking, hence major version is bumped.

Additionally, 5.1 is adopted.