Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Remove ofType: and userType: parameters in method calls #10

Open
benlmyers opened this issue Sep 2, 2022 · 0 comments
Open

Remove ofType: and userType: parameters in method calls #10

benlmyers opened this issue Sep 2, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@benlmyers
Copy link
Member

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.

@benlmyers benlmyers added the enhancement New feature or request label Sep 2, 2022
@benlmyers benlmyers added this to the EasyFirebase 2.0 milestone Sep 2, 2022
@benlmyers benlmyers self-assigned this Sep 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant