Comments (2)
That is expected. The console is unique in that regard
This is due to dots conflicting with the "field path" feature
If you do update({"a.b": 42})
This will not set doc["a.b"] but rather doc["a"]["b"]
The workaround is:
update({FieldPath("a.b"): 42})
That is consistent with how the Admin sdk works in Javascript
from dart_firebase_admin.
Thanks! @rrousselGit
from dart_firebase_admin.
Related Issues (20)
- Failed host lookup: while using dart frog. HOT 14
- Is CollectionGroup planned to be implemented? HOT 1
- FormatException in getUserByEmail Method HOT 2
- Creating User fails HOT 25
- Unable to initialize Auth HOT 2
- Unable to encode DateTime objects in `UserRecord.toJson()` HOT 1
- createCustomToken generates invalid Token HOT 6
- Use latest http package HOT 2
- Auth#verifyIdToken always throws unimplemented error HOT 7
- Updating user data based on UID fails HOT 3
- FirebaseMessagingAdminException: messaging/unknown: Unknown error occurred. HOT 6
- How to use/integrate FirebaseAuth? HOT 1
- Fetching Firestore Documents results in parsing error HOT 2
- FirebaseMessagingAdminException: messaging/invalidargument: One or more arguments specified in the request were invalid.
- Firestore is missing a function for reading root collections
- Warning when using the emulator
- is Realtime update available in this library for Firestore? HOT 1
- Release Request
- FirebaseMessagingAdminException: messaging/invalid-argument: Value type for APS key [alert] is a Dictionary or String.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart_firebase_admin.