happylinks / gqlint

GraphQL (Schema) Linter
MIT License
41 stars 4 forks source link

Unused / Wrong typenames? #5

Closed happylinks closed 7 years ago

happylinks commented 7 years ago

Check the include-tree of types. Some types might be dead code.

happylinks commented 7 years ago

Tried it in branch unused.types, but not sure if this rule is needed. For unused it might be cool, I was hoping we would have unused types, but we don't. So not that useful right now. Might revisit this later, the code works!