Does anyone know of any clojure(script) “GraphQL query as data” libraries?
Not entirely sure I understand the question, but perhaps #pathom might be what you are looking for?
I don’t think pathom is comparable; as I understand it, it’s more of a complete replacement for GraphQL; rather than a way to build GraphQL queries from clojure data. I’m basically looking for something like honeysql, but for GraphQL. EQL which pathom is based on could in principle serve as a data syntax; but I don’t think there is a 1-1 mapping to all GraphQL query features… e.g. not sure it can support directives or even field arguments (though I might be wrong on the later)
ok looks like it supports field arguments (params)
Actually that doesn't look like what you're after