New Firebase Firestore Database Announces
The function DocumentReference.set () was called with invalid data. Nested arrays are not supported.
When trying to save the following object:
{ "desc" : "Blala", "geojson" : { "features" : [ { "geometry" : { "coordinates" : [ 8.177433013916017, 48.27753810094064 ], "type" : "Point" }, "type" : "Feature" } ], "type" : "FeatureCollection" }, "location" : { "lat" : 48.27753810094064, "lng" : 8.177433013916017 }, "name" : "Wald und Wiesen", "owner" : "8a2QQeTG2zRawZJA3tr1oyOAOSF3", "prices" : { "game" : { "Damwild" : 10, "Raubwild" : 300, "Rehwild" : 250, "Schwarzwild" : 40 }, "perDay" : 35 }, "rules" : "Keine Regeln!", "wild" : { "desc" : "kein Wild", "tags" : [ "Damwild", "Rehwild", "Schwarzwild", "Raubwild" ] } }
what exactly is a nested array that firestore complains about? I can not find it in the documentation.
If this is a GeoJSON object - how would I save it?
firebase google-cloud-firestore
ProblemsOfSumit
source share