Sunny Patel
Sunny Patel
The above simply just masks the problem. If the user were to pan, then try to zoom with the mouse, it would just reset since the zoomCallback is set to...
Maybe then a console warning should be delivered to denote this intentional functionality when someone tries to update the interactionModel... Or something.
I just have my data points set to [[startX],[endX]] value and it shows the graph with the X Range specified where I want to show.
@thuctien, that error is coming from Firestore API, not from this library. You can check Firestore Documentation here: https://firebase.google.com/docs/firestore/quotas. If you scroll down, you'll see the constraints on field names...
Right, you can use [`updateDocument`](https://github.com/grahamearley/FirestoreGoogleAppsScript#updating-documents) without the `mask` parameter and just not include that field. This library internally uses the [Cloud Firestore API](https://firebase.google.com/docs/firestore/reference/rest) which does not have a direct method...
How is this different from updating the object to remove the desired field(s) and calling `updateDocument(obj, false)`?
> Because this way you dont need to get all the other values, you just do, for example: > > ```js > firestore.updateDocument("path", {}, ["fieldToRemove"]); > ``` > > and...
If you need to update and delete fields are the same time, you can do this already (with your example above): ```javascript const obj = {"field1": "some value", "field2": "another...
> No, that's not what I mean, I meant that `field1`, `field2` are both already fields in the database, and the above command which I wrote (with `FieldValue`) would update...
I have looked at your PR from the start, just wanted to consolidate discussion here first. Can you link me to the Firestore documentation you're referring to using `FieldValue.delete()`?