@ovrsea/graphql-detect-unused-operations
Version:
Library to check unused resolvers at Ovrsea
16 lines (14 loc) • 331 B
text/typescript
import gql from "graphql-tag";
import { myDeepObjectFragment } from "../../fragments/myDeepObjectFragment";
export const myComplexQuery = gql`
query complexQuery($id: String!) {
complexQuery(id: $id) {
id
scalarField
subObject {
...deepObjectFragment
}
}
}
${myDeepObjectFragment}
`;