We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab4f2c commit 2ce8a22Copy full SHA for 2ce8a22
firebase-firestore/ktx/src/test/java/com/google/firebase/firestore/testutil/TestUtil.java
@@ -41,7 +41,7 @@ public static FieldValue wrap(Object value) {
41
42
public static ObjectValue wrapObject(Map<String, Object> value) {
43
// Cast is safe here because value passed in is a map
44
- return (ObjectValue) wrap(value);
+ return new ObjectValue(wrap(value).getProto());
45
}
46
47
public static DocumentKey key(String key) {
0 commit comments