Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
185b6d2
chore(release): update monorepo packages versions (#6826)
theguild-bot Jan 6, 2025
b9e54d8
Bump webpack from 5.99.1 to 5.99.2 in the actions-deps group (#7101)
dependabot[bot] Apr 8, 2025
5a83a7b
chore(deps): update dependency svelte to v5.25.9 (#7108)
renovate[bot] Apr 8, 2025
fc692c1
build(deps): bump next from 15.4.2 to 15.4.3 (#7317)
dependabot[bot] Jul 24, 2025
bd91bd2
feat(executor): add schema coordinates extension to graphql errors
EmrysMyrddin Oct 14, 2025
cd6bfdd
make error coordinate schema extension opt-in and non-serializable
EmrysMyrddin Oct 16, 2025
928f09e
fix import
EmrysMyrddin Oct 27, 2025
a14c9b7
remove `null` for nodes
EmrysMyrddin Oct 27, 2025
67f52d8
fix
EmrysMyrddin Oct 27, 2025
42b285d
add changeset
EmrysMyrddin Oct 27, 2025
e7d66b6
try fix CI snapshot message
EmrysMyrddin Oct 27, 2025
0f03329
export getter
EmrysMyrddin Oct 27, 2025
b906626
fix example
EmrysMyrddin Oct 27, 2025
6f4be02
update tests
EmrysMyrddin Oct 28, 2025
a061fdd
remove version guards in tests
EmrysMyrddin Oct 28, 2025
71f845b
fix tests for Bun
EmrysMyrddin Oct 31, 2025
3e17928
use `coordinate` instead of extensions
EmrysMyrddin Nov 10, 2025
9a98d0e
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 10, 2025
53fe544
do not care about graphql 15
EmrysMyrddin Nov 10, 2025
2760589
update changeset
EmrysMyrddin Nov 10, 2025
3e773b1
Alternative to #7588 without a new class
ardatan Nov 10, 2025
660bf6c
..
ardatan Nov 10, 2025
3bb1e0a
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-tools/apollo-engine-loader": patch
---
dependencies updates:
- Updated dependency [`@whatwg-node/fetch@^0.10.13` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.10.13) (from `^0.10.11`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-tools_github-loader-7675-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-tools/github-loader": patch
---
dependencies updates:
- Updated dependency [`@whatwg-node/fetch@^0.10.13` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.10.13) (from `^0.10.11`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-tools_url-loader-7675-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-tools/url-loader": patch
---
dependencies updates:
- Updated dependency [`@whatwg-node/fetch@^0.10.13` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.10.13) (from `^0.10.11`, in `dependencies`)
33 changes: 33 additions & 0 deletions .changeset/floppy-women-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
'@graphql-tools/executor': minor
'@graphql-tools/utils': minor
---

Add optional schema coordinate in error extensions. This extension allows to precisely identify the
source of the error by automated tools like tracing or monitoring.

This new feature is opt-in, you have to enable it using `schemaCoordinateInErrors` executor option.

To avoid leaking schema information to the client, the extension key is a `Symbol` (which is not
serializable). To forward it to the client, copy it to a custom extension with a serializable key.

```ts
import { parse } from 'graphql'
import { normalizedExecutor } from '@graphql-tools/executor'
import schema from './schema'

// You can also use `Symbol.for('graphql.error.schemaCoordinate')` to get the symbol if you don't
// want to depend on `@graphql-tools/utils`

const result = await normalizedExecutor({
schema,
document: parse(gql`...`),
schemaCoordinateInErrors: true // enable adding schema coordinate to graphql errors
})

if (result.errors) {
for (const error of result.errors) {
console.log('Error in resolver ', error.coordinate, ':', error.message)
}
}
```
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
permissions:
contents: read
id-token: write
pull-requests: write
uses: the-guild-org/shared-config/.github/workflows/release-snapshot.yml@v1
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
Expand Down
45 changes: 2 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading