@@ -51,16 +51,16 @@ import { AbstractUserDataWriter } from './user_data_writer';
51
51
* for example, have properties with complex, nested data types, properties used
52
52
* for memoization, properties of types not supported by Firestore (such as
53
53
* `symbol` and `bigint`), and helper functions that perform compound
54
- * operations. Such classes are not suitable or possible to store into a
54
+ * operations. Such classes are not suitable and/ or possible to store into a
55
55
* Firestore database. Instead, instances of such classes need to be converted
56
- * to "plain old JavaScript objects" (POJOs), objects with only primitive
57
- * properties, potentially nested inside other objects or arrays. In this
56
+ * to "plain old JavaScript objects" (POJOs) with exclusively primitive
57
+ * properties, potentially nested inside other POJOs or arrays of POJOs . In this
58
58
* context, this type is referred to as the "DbModel" and would be an object
59
59
* suitable for persisting into Firestore. For convenience, applications can
60
60
* implement `FirestoreDataConverter` and register the converter with Firestore
61
- * objects, such a `DocumentReference` or `Query`, to automatically convert
61
+ * objects, such as `DocumentReference` or `Query`, to automatically convert
62
62
* `AppModel` to `DbModel` when storing into Firestore, and convert `DbModel`
63
- * back to `AppModel` when retrieving from Firestore.
63
+ * to `AppModel` when retrieving from Firestore.
64
64
*
65
65
* @example
66
66
*
0 commit comments