You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test added a case that knip is currently not handling: @graphql-codegen/add should be recognized as used/unlisted in codegen.yaml.
It currently doesn't, because the add plugin defines plugin specific configuration, and is thus not a string, but an object, in the plugins array.
3 commit comments
CensoredUser commentedon Jun 21, 2024
This test added a case that knip is currently not handling:
@graphql-codegen/add
should be recognized as used/unlisted incodegen.yaml
.It currently doesn't, because the
add
plugin defines plugin specific configuration, and is thus not a string, but an object, in the plugins array.webpro commentedon Jun 21, 2024
You up for a PR? Otherwise I'll pick it up after the weekend.
CensoredUser commentedon Jun 21, 2024
@webpro I just created #692 to track this issue - I'll work on a PR :)