+5
.changeset/tiny-gifts-exercise.md
+5
.changeset/tiny-gifts-exercise.md
···+Add `loc` getter to parsed `DocumentNode` fragment outputs to ensure that using fragments created by `gql.tada`'s `graphql()` function with `graphql-tag` doesn't crash. `graphql-tag` does not treat the `DocumentNode.loc` property as optional on interpolations, which leads to intercompatibility issues.
+1
-1
src/__tests__/parser.test.ts
+1
-1
src/__tests__/parser.test.ts
+35
-4
src/parser.ts
+35
-4
src/parser.ts
············