+1
.gitignore
+1
.gitignore
+1
-1
package.json
+1
-1
package.json
+50
-49
packages/example/__generated__/baseGraphQLSP.ts
+50
-49
packages/example/__generated__/baseGraphQLSP.ts
······
+1
-106
packages/example/src/Pokemon.generated.ts
+1
-106
packages/example/src/Pokemon.generated.ts
···
+1
-1
packages/example/tsconfig.json
+1
-1
packages/example/tsconfig.json
+32
packages/graphqlsp/src/ast.ts
packages/graphqlsp/src/ast/index.ts
+32
packages/graphqlsp/src/ast.ts
packages/graphqlsp/src/ast/index.ts
······
+103
packages/graphqlsp/src/autoComplete.ts
+103
packages/graphqlsp/src/autoComplete.ts
···
packages/graphqlsp/src/cursor.ts
packages/graphqlsp/src/ast/cursor.ts
packages/graphqlsp/src/cursor.ts
packages/graphqlsp/src/ast/cursor.ts
+337
packages/graphqlsp/src/diagnostics.ts
+337
packages/graphqlsp/src/diagnostics.ts
···
+2
-2
packages/graphqlsp/src/getSchema.ts
packages/graphqlsp/src/graphql/getSchema.ts
+2
-2
packages/graphqlsp/src/getSchema.ts
packages/graphqlsp/src/graphql/getSchema.ts
···
+31
-472
packages/graphqlsp/src/index.ts
+31
-472
packages/graphqlsp/src/index.ts
···············
+55
packages/graphqlsp/src/quickInfo.ts
+55
packages/graphqlsp/src/quickInfo.ts
···
+2
-2
packages/graphqlsp/src/resolve.ts
packages/graphqlsp/src/ast/resolve.ts
+2
-2
packages/graphqlsp/src/resolve.ts
packages/graphqlsp/src/ast/resolve.ts
···
packages/graphqlsp/src/token.ts
packages/graphqlsp/src/ast/token.ts
packages/graphqlsp/src/token.ts
packages/graphqlsp/src/ast/token.ts
packages/graphqlsp/src/types/generate.ts
packages/graphqlsp/src/graphql/generateTypes.ts
packages/graphqlsp/src/types/generate.ts
packages/graphqlsp/src/graphql/generateTypes.ts
+2
-21
packages/graphqlsp/src/utils.ts
packages/graphqlsp/src/graphql/getFragmentSpreadSuggestions.ts
+2
-21
packages/graphqlsp/src/utils.ts
packages/graphqlsp/src/graphql/getFragmentSpreadSuggestions.ts
······* This part is vendored from https://github.com/graphql/graphiql/blob/main/packages/graphql-language-service/src/interface/autocompleteUtils.ts#L97
+11
test/e2e/fixture-project/fixtures/Post.ts
+11
test/e2e/fixture-project/fixtures/Post.ts
+12
test/e2e/fixture-project/fixtures/Posts.ts
+12
test/e2e/fixture-project/fixtures/Posts.ts
+133
test/e2e/fragments.test.ts
+133
test/e2e/fragments.test.ts
···
-19
test/e2e/graphqlsp.test.ts
-19
test/e2e/graphqlsp.test.ts
···
+15
-2
test/e2e/rename.test.ts
test/e2e/generate-types.test.ts
+15
-2
test/e2e/rename.test.ts
test/e2e/generate-types.test.ts
············