Title: Subscription event DataFetcherResult.extensions are missing from emitted ExecutionResult · Issue #4475 · graphql-java/graphql-java · GitHub
Open Graph Title: Subscription event DataFetcherResult.extensions are missing from emitted ExecutionResult · Issue #4475 · graphql-java/graphql-java
X Title: Subscription event DataFetcherResult.extensions are missing from emitted ExecutionResult · Issue #4475 · graphql-java/graphql-java
Description: When a subscription publisher emits a DataFetcherResult containing extensions, those extensions are not included in the emitted ExecutionResult. Reproduction A subscription data fetcher returns: return Mono.just( DataFetcherResult.newRes...
Open Graph Description: When a subscription publisher emits a DataFetcherResult containing extensions, those extensions are not included in the emitted ExecutionResult. Reproduction A subscription data fetcher returns: re...
X Description: When a subscription publisher emits a DataFetcherResult containing extensions, those extensions are not included in the emitted ExecutionResult. Reproduction A subscription data fetcher returns: re...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4475
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Subscription event DataFetcherResult.extensions are missing from emitted ExecutionResult","articleBody":"When a subscription publisher emits a `DataFetcherResult` containing extensions, those extensions are not included in the emitted `ExecutionResult`.\n\n ### Reproduction\n\n A subscription data fetcher returns:\n\n ```java\n return Mono.just(\n DataFetcherResult.newResult()\n .data(event)\n .extensions(Map.of(\"myKey\", \"myValue\"))\n .build()\n );\n```\n\nThe emitted result contains the expected data, but:\n\n`executionResult.getExtensions() == null`\n\nAdding the value directly to the ExtensionsBuilder during the initial data-fetcher invocation causes it to appear on the initial subscription result:\n \n ```java\n dfe.getGraphQlContext()\n .get(ExtensionsBuilder.class)\n .addValue(\"myKey\", \"myValue\");\n```\n\nHowever, extensions supplied by an emitted DataFetcherResult are missing from the corresponding subscription event result.\n","author":{"url":"https://github.com/jjacobs44","@type":"Person","name":"jjacobs44"},"datePublished":"2026-09-18T16:32:09Z","url":"https://github.com/graphql-java/graphql-java/issues/4475"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fa28e666-ba57-fda4-d7b4-cc03701d0c3c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A530:1F2D:1B0E677:2236E2D:6B0188C1 |
| html-safe-nonce | 41d0018ce1318b64a90bb53239d962a55164083ca9a2f7717fb5e25c822674e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTMwOjFGMkQ6MUIwRTY3NzoyMjM2RTJEOjZCMDE4OEMxIiwidmlzaXRvcl9pZCI6IjczODYxMjQzMTUyMTA2NDc3NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2d95a7b653f970cd352412cf5e885e2ab02c01181e35268edd86bb19b6b4a59d |
| hovercard-subject-tag | issue:5502022111 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/4475/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0442db41e3f51c6009813cdb27355c9519b1c5374c2a2e29f2d57c58f4eb71c4/graphql-java/graphql-java/issues/4475 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0442db41e3f51c6009813cdb27355c9519b1c5374c2a2e29f2d57c58f4eb71c4/graphql-java/graphql-java/issues/4475 |
| og:image:alt | When a subscription publisher emits a DataFetcherResult containing extensions, those extensions are not included in the emitted ExecutionResult. Reproduction A subscription data fetcher returns: re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jjacobs44 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width