Fork me on GitHub
#graphql
<
2019-09-02
>
zyxmn16:09:30

Hey guys , what are the current options for checking schema coverage when using lacinia

zyxmn16:09:55

Looking for a clojure version of something like this https://medium.com/the-guild/graphql-inspector-481c1a5ef616

gklijs06:09:22

Guess you could intercept all the traffic and that way know which parts are used. I guess you could build it up the same way as the actual schema and then compare it agains the used one. That's for schema coverage.

👍 4
hlship16:09:10

We log (a bit indirectly) what fields are used in queries into our system; we then have a tool that can identify which fields are used and which are not. We'll eventually use that to deprecate and finally remove unused fields. That's a nice ability to have, and not something you can effectively do in a REST world where you have no idea what data is actually needed by clients because one-size-ill-fits-all.