Issue #852
Supposed we have Book
object
struct Book: Identifiable, Codable, Hashable {
@DocumentID var id: String?
}
We should use FieldPath instead of id
for query
let booksRef: CollectionReference = ...
let ids: [String] = ...
booksRef
.whereField(
FieldPath.documentID(),
in: ids
)