appy-one / acebase

A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
MIT License
491 stars 27 forks source link

Empty field name behavior #172

Closed donl closed 1 year ago

donl commented 1 year ago

When seting or pushing a key-value pair, with an empty string "" for the key , an empty child node is created with the same key as its parent.

I doubt this is the desired behavior, but I leave that up to you.

Also, I see some quirks with creating invalid keys (eg: containing \) on a acebase-client, being cached locally and then finally failing on the server with some read locks. Let me know if I should create another ticket for this.

appy-one commented 1 year ago

Ok, sounds like I need to be a little less permissive on what can be used as key names