+6
.changeset/sour-feet-hear.md
+6
.changeset/sour-feet-hear.md
···
···+Add a `message` diagnostic when we see an import from a file that has `fragment` exports we'll warn you when they are not imported, this because of the assumption that to use this file one would have to adhere to the data requirements of said file.
+2
-2
.gitattributes
+2
-2
.gitattributes
+1
README.md
+1
README.md
···- Diagnostics for adding fields that don't exist, are deprecated, missmatched argument types, ...- When you save it will generate `typed-document-nodes` for your documents and cast them to the correct type+- Will warn you when you are importing from a file that is exporting fragments that you're not using
+103
-24
packages/example/src/Pokemon.generated.ts
+103
-24
packages/example/src/Pokemon.generated.ts
······
······
+2
-7
packages/example/src/Pokemon.ts
+2
-7
packages/example/src/Pokemon.ts
···
-65
packages/example/src/index.generated.ts
-65
packages/example/src/index.generated.ts
············
············
+1
-7
packages/example/src/index.ts
+1
-7
packages/example/src/index.ts
·········
·········
+8
packages/graphqlsp/README.md
+8
packages/graphqlsp/README.md
···- Diagnostics for adding fields that don't exist, are deprecated, missmatched argument types, ...- When you save it will generate `typed-document-nodes` for your documents and cast them to the correct type···
···- Diagnostics for adding fields that don't exist, are deprecated, missmatched argument types, ...- When you save it will generate `typed-document-nodes` for your documents and cast them to the correct type+- Will warn you when you are importing from a file that is exporting fragments that you're not using···+- `scalars` allows you to pass an object of scalars that we'll feed into `graphql-code-generator`+- `shouldCheckForColocatedFragments` when turned on (default), this will scan your imports to find
+45
packages/graphqlsp/src/ast.ts
+45
packages/graphqlsp/src/ast.ts
···
···
+110
-9
packages/graphqlsp/src/index.ts
+110
-9
packages/graphqlsp/src/index.ts
··················
··················
+2
-1
packages/graphqlsp/src/resolve.ts
+2
-1
packages/graphqlsp/src/resolve.ts
-37
packages/graphqlsp/src/utils.ts
-37
packages/graphqlsp/src/utils.ts
······