Decoding Is Not Supported ("DocumentID values can only be decoded with Firestore.Decoder") – Ios swift
I have the following struct: struct Recipe: Codable { @DocumentID var id: String? var vegetarian: Bool? } And this is how I'm parsing the data from Firestore: do { let decoder = JSONDecoder() let recipeToDisplay = try decoder.decode(Recipe.self, from: data!)…