UNPKG
@ovrsea/graphql-detect-unused-operations
Version:
latest (1.1.0)
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
Library to check unused resolvers at Ovrsea
@ovrsea/graphql-detect-unused-operations
/
tests
/
mutations
/
myMutation.ts
10 lines
(8 loc)
•
191 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
gql
from
"graphql-tag"
;
export
const
myMutation = gql`
mutation
basicMutation
(
$unusedVariable
: Boolean
)
{
basicMutation
(
unusedVariable
:
$unusedVariable
)
{
id
}
}
`
;