Flowductive / easy-firebase

🔥 A Swifty solution for all things Firebase. Quickly implement Firestore and Authentication on iOS + macOS using Swift protocols and methods.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove `ofType:` and `userType:` parameters in method calls

benlmyers opened this issue · comments

The need for ofType: and userType: to specialize generic EasyFirestore and other related library methods can be eliminated, as String(describing: T.self) does not account for sub-classes, whereas String(describing: type(of: document)).

This change should only appear rarely, however, once #9 is implemented.