Skip to content

Commit 7b5ac5a

Browse files
committed
docs: wip
1 parent c94ee3d commit 7b5ac5a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/cookbook/migration-v2-v3.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ VueFire 3 introduces a Composition API that is more flexible and powerful than t
1515

1616
### Removal of `serialize` option for Firestore
1717

18-
Firestore support a native equivalent of the `serialize` option: [Firestore Data Converter](https://firebase.google.com/docs/firestore/query-data/get-data#custom_objects). You can use it to convert your data to a class instance. This is the recommended way to use Firestore with VueFire **and make it typesafe**.
18+
Firestore supports a native equivalent of the `serialize` option: [Firestore Data Converter](https://firebase.google.com/docs/firestore/query-data/get-data#custom_objects). You can use it to convert your data to a class instance. This is the recommended way to use Firestore with VueFire **and make it typesafe**.
19+
20+
VueFire does support a **global `converter` option** that is equivalent to the previous global `serialize` option. Note that, like the its predecessor `serialize`, VueFire uses a default converter that adds the `id` property to your data, you can import it to use it:
21+
22+
```ts
23+
// TODO:
24+
```
1925

2026
## Vuexfire
2127

0 commit comments

Comments
 (0)