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.
2 parents 9f87db1 + 162f071 commit 3d2eaddCopy full SHA for 3d2eadd
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