Closed Engine1992 closed 7 months ago
Hey.
I tried to use patchDocument example but when I compile the code, output of Arduino IDE shows:
error: 'PatchDocumentOptions' was not declared in this scope PatchDocumentOptions patchOptions(DocumentMask("count,status") / updateMask /, DocumentMask() / mask /, Precondition() / precondition /); note: suggested alternative: 'patchDocumentOptions' PatchDocumentOptions patchOptions(DocumentMask("count,status") / updateMask /, DocumentMask() / mask /, Precondition() / precondition /);
error: 'PatchDocumentOptions' was not declared in this scope PatchDocumentOptions patchOptions(DocumentMask("count,status") / updateMask /, DocumentMask() / mask /, Precondition() / precondition /);
note: suggested alternative: 'patchDocumentOptions' PatchDocumentOptions patchOptions(DocumentMask("count,status") / updateMask /, DocumentMask() / mask /, Precondition() / precondition /);
Code snippnet:
PatchDocumentOptions patchOptions(DocumentMask("count,status") /* updateMask */, DocumentMask() /* mask */, Precondition() /* precondition */); Docs.patch(aClient, Firestore::Parent(FIREBASE_PROJECT_ID), documentPath, patchOptions, doc, asyncCB);
The FirebaseClient library is included, another things works - the problem is only with the "PatchDocumentOptions". Trying to use small letter on "patch", function not working. How to deal with it?
There is no compile error in Arduino IDE and PlatformIO from my test.
You have to remove the library and install again.
Hey.
I tried to use patchDocument example but when I compile the code, output of Arduino IDE shows:
Code snippnet:
The FirebaseClient library is included, another things works - the problem is only with the "PatchDocumentOptions". Trying to use small letter on "patch", function not working. How to deal with it?