Skip to content

Commit d709b9f

Browse files
Hui-Wuwilhuff
authored andcommitted
Allow firestore api to work with Codable objects + ExplicitNull + Integration tests (#3261)
* Convinience api for codables * Integration Tests * ExplicitNull implementation
1 parent 3909666 commit d709b9f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Firestore/Swift/Source/Codable/third_party/FirestoreDecoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extension Firestore {
2626
/// in `container` are directly supported:
2727
/// - GeoPoint
2828
/// - Timestamp
29+
/// - DocumentReference
2930
///
3031
/// - Parameters:
3132
/// - A type to decode a document to.

Firestore/Swift/Source/Codable/third_party/FirestoreEncoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ extension Firestore {
3030
/// The Firestore pass-through types are:
3131
/// - GeoPoint
3232
/// - Timestamp
33+
/// - DocumentReference
3334
///
3435
/// - Parameter value: The Encodable object to convert to encoded data.
3536
/// - Returns: A Map keyed by String representing a document Firestore

Firestore/third_party/FirestoreEncoder/FirestoreDecoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extension Firestore {
2626
/// in `container` are directly supported:
2727
/// - GeoPoint
2828
/// - Timestamp
29+
/// - DocumentReference
2930
///
3031
/// - Parameters:
3132
/// - A type to decode a document to.

Firestore/third_party/FirestoreEncoder/FirestoreEncoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ extension Firestore {
3030
/// The Firestore pass-through types are:
3131
/// - GeoPoint
3232
/// - Timestamp
33+
/// - DocumentReference
3334
///
3435
/// - Parameter value: The Encodable object to convert to encoded data.
3536
/// - Returns: A Map keyed by String representing a document Firestore

0 commit comments

Comments
 (0)