"TypeError: Cannot read property 'kind' of undefined" 1: at determineDepth node_modules/graphql-depth-limit/index.js:60:16
// I have come to realise this happens if you don't import the fragment file with a fragment definition, then this happens.
// eg:
gql`mutation autoPlansM ($conv_id: ID!) {
autoPlans (conv_id: $conv_id) {
id
escalations {
...convEscalationF # we should add at the top eg: #import "escalationsF.graphql"
}
}
}
`