Having a tricky time persisting GeoJSON on an Ontology object.
I figured having valid JSON in the GeoJson spec would be enough, but have imported a bunch of different type libs and tried to work with native Foundry ones but haven’t been able to figure out how to get Polygon/Geoshapes persisted.
It looks like the code in your screenshot is a TypeScript function to implement the rules for an Ontology Action?
The appearance of “[Object]” in the logs means that an object hasn’t been converted into a string prior to being printed. This could happen in your TypeScript code or could be in the JSON you submitted through the Ontology Action.
Can you post a notional sample of the GeoJSON you’re trying to write into your object?