ankha
ankha copied to clipboard
Don't let users insert non-associative datastructures
Om only supports associative datastructures in its atom - don't let users insert anything that is not associative
While one of the uses of this library is to provide inspection into the data that drives an Om application that is not the entirety of it's purpose. My vision for Ankha is to have a general purpose inspection tool.
There isn't much value in disallowing people to insert whatever they please. If our intention is to consider this, however, it should be configurable. At the end of the day my faith rests with the users of this library to do the right thing. That is, I make the assumption Ankha's users are intelligent. If they make a bad choice, well, that's on them. Hit the refresh button. No big deal.
cool, yeah, I'm in agreement here - @sgrove's original idea was to disallow editing of "uneditable" structures, but I'm not sure that makes sense given the larger goal of ankha: in a general sense any cljs.reader/read-stringable thing should be editable. totally fine closing this issue.