Is there a way to track unused fields #1384
Unanswered
prakashkvau
asked this question in
Q&A
Replies: 1 comment
-
We offer a way to track usage of deprecated fields with Lighthouse, see https://github.com/nuwave/lighthouse/blob/499f3c0f8686195a15dde92fb8ef4cf387e701ad/docs/master/digging-deeper/deprecation.md. This class could serve as a template for you to implement your own tracking for every field: https://github.com/nuwave/lighthouse/blob/499f3c0f8686195a15dde92fb8ef4cf387e701ad/src/Deprecation/DetectDeprecatedUsage.php. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, is it possible to either log/track all the unused fields on the graph easily?
we have a large graph and want to track which fields are not used by the clients.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions