Fork me on GitHub
#graphql
<
2018-05-10
>
hlship20:05:01

That Clojure 1.9 namespace qualified map syntax, it.e equivalent to {:selections :Prestado/:nm_usuario} (that is, the #: reader macro preprends the namespace to all keys in the map).

geraldodev21:05:42

Is possible to access programatically ?

geraldodev21:05:49

I'm aiming for relating this information with underlying table information to build a sql query

geraldodev21:05:06

(comp namespace ffirst)

hlship21:05:51

I'm not quite following you. This information is available inside a resolver function. Do what you want with it there, such as create a SQL query. If you need to extract data at this level but use it at a lower level, you can use the resolve/with-context modifier to pass context data to nested resolvers in the context.

geraldodev21:05:47

I'm poking with the possibility of coding a generic resolver function to build a sql query. First step was extract that namespace. Thank you for the map information. I was not aware of it