Skip to content

Commit

Permalink
[Firestore] Resolve protocol conformance warnings (#13484)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Aug 12, 2024
1 parent 7ad3a23 commit 6a4088d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ extension CodableDocumentReference {
}
}

extension DocumentReference: CodableDocumentReference {}
extension FirebaseFirestore.DocumentReference: FirebaseFirestore.CodableDocumentReference {}
2 changes: 1 addition & 1 deletion Firestore/Swift/Source/Codable/FieldValue+Encodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#endif // SWIFT_PACKAGE

/** Extends FieldValue to conform to Encodable. */
extension FieldValue: Encodable {
extension FirebaseFirestore.FieldValue: Swift.Encodable {
/// Encoding a FieldValue will throw by default unless the encoder implementation
/// explicitly handles it, which is what Firestore.Encoder does.
public func encode(to encoder: Encoder) throws {
Expand Down
2 changes: 1 addition & 1 deletion Firestore/Swift/Source/Codable/GeoPoint+Codable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ extension CodableGeoPoint {
}

/** Extends GeoPoint to conform to Codable. */
extension GeoPoint: CodableGeoPoint {}
extension FirebaseFirestore.GeoPoint: FirebaseFirestore.CodableGeoPoint {}
2 changes: 1 addition & 1 deletion Firestore/Swift/Source/Codable/Timestamp+Codable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ extension CodableTimestamp {
}

/** Extends Timestamp to conform to Codable. */
extension Timestamp: CodableTimestamp {}
extension FirebaseCore.Timestamp: FirebaseFirestore.CodableTimestamp {}
2 changes: 1 addition & 1 deletion Firestore/Swift/Source/Codable/VectorValue+Codable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ extension CodableVectorValue {
}

/** Extends VectorValue to conform to Codable. */
extension VectorValue: CodableVectorValue {}
extension FirebaseFirestore.VectorValue: FirebaseFirestore.CodableVectorValue {}

0 comments on commit 6a4088d

Please sign in to comment.