Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

unique code for deprecation

+1 -1
+1 -1
packages/graphqlsp/src/diagnostics.ts
··· 29 29 export const SEMANTIC_DIAGNOSTIC_CODE = 52001; 30 30 export const MISSING_OPERATION_NAME_CODE = 52002; 31 31 export const MISSING_FRAGMENT_CODE = 52003; 32 - export const USING_DEPRECATED_FIELD_CODE = 52003; 32 + export const USING_DEPRECATED_FIELD_CODE = 52004; 33 33 34 34 export function getGraphQLDiagnostics( 35 35 filename: string,