Hi. I used datascript from js in and around 2017, and I vaguely remember that if I had the schema, it wasn't needed to flatten my jsons, I could just feed them into datascript to create entities. Is this correct or am I confusing something? I am not able to find this in the docs
You need schema either way. In terms of submitting data, yes, you can insert nested entities as nested maps
There are some examples https://github.com/tonsky/datascript/blob/9e3ad968ec6b25b53963f3f96c8f6cae6713d918/test/js/tests.js#L121-L148
Thanks! I missed somehow the example, it's very short:) But now I even remember seeing it from all those years ago.