graphql

2024-07-19T13:46:30.235959Z

does anyone have experience parsing graphql schemas with Clojure? I just want to do some simple static analysis, and one thing I tried i to use lacinia

(-> "schema.graphql"
    io/resource
    slurp
    schema-parser/parse-schema
    )
however the result of that thing doesn't contain the types at all as far as I can see

2024-07-19T13:49:36.839419Z

weird since everything else seems to be there

namenu 2024-07-21T07:37:17.283259Z

Names are little different than SDL. type -> objects input -> input-objects

2024-07-21T07:59:04.967899Z

Yeah but I was looking for certain names and not finding them

2024-07-21T07:59:20.181859Z

I'll check again but not everything seemed to be there

namenu 2024-07-21T09:40:26.756679Z

Can you share the schema?

2024-07-21T09:51:19.145569Z

Probably not but I try to reproduce it

2024-07-21T09:51:49.272789Z

I mean we do use lacinia in general so I think it works with out schema