clojurescript

m3tti 2026-03-29T08:24:43.293489Z

working with graphql what do you use to create the queries in clojurescript?

gersak 2026-05-15T10:52:01.831799Z

maybe this could help https://github.com/gersak/rogue/blob/master/src/rogue/graphql.cljc it is ~400 lines for generating GraphQL and supports variable->type mapping

Macroz 2026-03-29T11:44:51.066029Z

last time I just wrote them manually into strings and some helper utilities to handle parameters / response. It's just simple code if the use is more or less REST-like

ghaskins 2026-03-29T17:32:12.736939Z

We use https://github.com/district0x/graphql-query

m3tti 2026-03-29T20:38:36.612209Z

that goes in the right direction or basically is what i was looking for. Do you know if that also works with squint?

ghaskins 2026-03-29T20:43:09.795199Z

I don't know, sorry