Open kennyjwilli opened 2 years ago
My take would be "convert the JSON request to clj data, then process those strings into keywords". That way you don't lose namespacing, which is also important: ["a/b"] -> [:a/b]. IMO it is an external concern that is fixable with a simple wrapper and should not be a concern of EQL itself.
The EQL specification defines properties as "Clojure keywords; they can be simple or qualified keywords, and they express the property been requested." When only working with Clojure data, this definition makes sense. There could be cases where external data is given as a JSON document where keywordizing keys is not preferable (i.e., certain keys are not valid keywords), yet the EQL format still has merit.
What are the authors' thoughts on adding support for string properties? For example, the below query would be valid.