graphql 2024-07-19

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

weird since everything else seems to be there

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

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

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

Can you share the schema?

Probably not but I try to reproduce it

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