-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firestore emulator is rejecting timestamp field #3553
Comments
@rtitlestad thanks for the clear report! I was able to reproduce this and confirm it's an Emulator issue (not an SDK issue). EmulatorProduction |
@samtstern
Every version tested in emulator with |
@neuberoliveira thanks for doing all of that digging! Sounds like it's maybe an SDK issue then? Or maybe some combination of an SDK issue and an Emulator issue. |
@samtstern i guess theres a lot of tests in sdk to work in a production environment as its the main target, as far its working, my bet is some combination of sdk and emulator, maybe more on emulator side. would like to help, but has no idea where i start, maybe find which emulator version work with |
One thing I noticed was that it only seems to happen with |
This looks like firebase/firebase-js-sdk#5047 |
Thanks @schmidt-sebastian! Yes it looks like this is an SDK issue. @rtitlestad let's close this one and track it over there, since that's where the fix will happen. |
[REQUIRED] Environment info
firebase-tools: 9.14.0
Platform: Windows
[REQUIRED] Test case
index.html
[REQUIRED] Steps to reproduce
firebase emulators:start --project demo-timestamp
[REQUIRED] Expected behavior
The users collection should have a single document with a
born
field containing a timestamp[REQUIRED] Actual behavior
The user document is missing the
born
field and the following error is displayed in firestore-debug.logThe text was updated successfully, but these errors were encountered: