title: Firestore and Swift UI Type of expression is ambiguous
body: <p>It still works but I have not been able to get rid of warning. Type of expression is ambiguous without more context.</p>
  <pre><code>func loadFavorites() {
          CollectionBase.FAVORITES
              .order(by: CollectionFavs.NAME)
              .addSnapshotListener { snapshot, error in
                  guard let documents = snapshot?.documents else {
                      if let error = error {
                          print(&quot;\(error.localizedDescription)&quot;)
                      }
                      return
                  }
                  self.favorites = documents.compactMap({ docSnapShot -&gt; Favorite? in
                      return try? docSnapShot.data(as: Favorite.self)
                  })
              }
      }
  </code></pre>
  <p>Here is the model</p>
  <pre><code>import Firebase
  import FirebaseFirestoreSwift
  
  struct Favorite: Identifiable, Codable {
      @DocumentID var id: String? = UUID().uuidString
      let uid: String
      let name: String
      let street: String
      let cityStateZipCountry: String
      let latitude: Double
      let longitude: Double
      let phone: String
      let rating: Int
      let type: String
      let comment: String
      let timestamp: Date
  }
  </code></pre>