Closed MichZipp closed 6 years ago
Hi Michael. This is indeed a limitation/bug at the moment. Firestore switched their date
data-type to timestamp
a while back. While writing to Firestore using a Date
still works, when reading data, the new timestamp
is returned.
This probably happens when you set the timestampsInSnapshots
setting during initialisation.
Of course, since the timestamp
data-type is considered to be the new high fidelity date-time type, this should obviously be supported by Firestorter.
I will try to add a solution for this in the next couple of weeks.
Cheers, Hein
Hi Michael. I just released a new version of Firestorter which resolves this issue: https://github.com/IjzerenHein/firestorter/releases/tag/v1.1.0
Please view these docs on how to use timestamp
s in schemas:
https://github.com/IjzerenHein/firestorter/blob/master/docs/SchemasAndCustomDocuments.md#timestamps
Hi,
I have the following Document Definition:
If I add an Item with following structure:
I get the following error:
But If i check the table on firebase, I can see, that the item was added in the correct format to the database:
Anyone an idea, what could couse this error?
Greeting, Michael