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 80b1a27 commit 403da9eCopy full SHA for 403da9e
packages/firestore/src/remote/serializer.ts
@@ -352,6 +352,9 @@ export class JsonProtoSerializer {
352
);
353
}
354
355
+ // TODO(mrschmidt): Even when we remove our custom FieldValues, we still
356
+ // need to re-encode field values to their expected type based on the
357
+ // `useProto3Json` setting.
358
toValue(val: fieldValue.FieldValue): api.Value {
359
if (val instanceof fieldValue.NullValue) {
360
return { nullValue: 'NULL_VALUE' };
0 commit comments