Commit Graph
4 Commits
Author SHA1 Message Date
Paul Beusterien a2ea36c317 Restore 9.x Firestore Data Codable behavior (#10598) 2022-12-21 07:53:21 -08:00
Morgan Chen faa4488c63 Address PR feedback for Firestore Codable (#10270)
* Address PR feedback for Firestore Codable

* revert error message change
2022-09-28 01:14:58 -04:00
Andrew Heard 79f9cba743 [Firestore] Remove encoding/decoding strategy type aliases (#10273)
Removed the `Firestore.Encoder` and `Firestore.Decoder` encoding/decoding strategy type aliases and directly used the types from `FirebaseDataEncoder` and `FirebaseDataDecoder`.

Note: This requires the `TimestampEncoding/DecodingStrategy` extension to be added to `FirebaseDataEncoder/Decoder` instead of `Firestore.Encoder` and `Firestore.Decoder`. This will make the `timestamp` strategy visible to all users of the `FirebaseDataEncoder/Decoder` (that have FirestoreSwift installed), even though `Timestamp` is a Firestore-specific type.
2022-09-27 22:29:50 -04:00
Morten Bek Ditlevsen 65f6cfa0bf Make Firestore use FirebaseDataEncoder and FirebaseDataDecoder (re-implementation of #8858) (#9465) 2022-09-23 09:09:39 -07:00