Skip to content

Commit 403da9e

Browse files
Add TODO for later
1 parent 80b1a27 commit 403da9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/firestore/src/remote/serializer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ export class JsonProtoSerializer {
352352
);
353353
}
354354

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.
355358
toValue(val: fieldValue.FieldValue): api.Value {
356359
if (val instanceof fieldValue.NullValue) {
357360
return { nullValue: 'NULL_VALUE' };

0 commit comments

Comments
 (0)