Title: Backwards compatibility issues with DIRECTIVE_DEFINITION location on older versions of graphql · Issue #4479 · graphql-java/graphql-java · GitHub
Open Graph Title: Backwards compatibility issues with DIRECTIVE_DEFINITION location on older versions of graphql · Issue #4479 · graphql-java/graphql-java
X Title: Backwards compatibility issues with DIRECTIVE_DEFINITION location on older versions of graphql · Issue #4479 · graphql-java/graphql-java
Description: Describe the problem The latest versions of graphql-java has implemented graphql/graphql-spec#1206 This allows a new location for directives directive @onDirective on DIRECTIVE_DEFINITION the standard @deprecated directives now allows it...
Open Graph Description: Describe the problem The latest versions of graphql-java has implemented graphql/graphql-spec#1206 This allows a new location for directives directive @onDirective on DIRECTIVE_DEFINITION the stand...
X Description: Describe the problem The latest versions of graphql-java has implemented graphql/graphql-spec#1206 This allows a new location for directives directive @onDirective on DIRECTIVE_DEFINITION the stand...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4479
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backwards compatibility issues with DIRECTIVE_DEFINITION location on older versions of graphql","articleBody":"**Describe the problem**\n\nThe latest versions of graphql-java has implemented https://github.com/graphql/graphql-spec/pull/1206\n\nThis allows a new location for directives\n\n```\ndirective @onDirective on DIRECTIVE_DEFINITION\n```\n\nthe standard `@deprecated` directives now allows itself to be `on DIRECTIVE_DEFINITION`\n\nHowever if this modern schema is then represented to some other consumer who is on a graphql version that is older and this is very common right now) then they consumer will choke on the schema\n\n\n**To Reproduce**\n\n\nPrint a schema on latest graphql-java (say `0.0.0-2026-03-18T00-52-57-e53ab1a`. Consume that schema on a client running an older version of graphql-java (say `25.0`)\n\n** Design concerns **\n\nNormally the version of graphql-java is localised to the running instance and hence this additive change would be ok but schema printing and introspection are ways in which schema can leave the runtime version of the server and need to be run on older versions.\n\nI think there should be a \"predicate\" / \"switch\" mechanism that allows older versions (1 back say) of schema to be printed / produced.\n","author":{"url":"https://github.com/bbakerman","@type":"Person","name":"bbakerman"},"datePublished":"2026-09-27T23:56:37Z","url":"https://github.com/graphql-java/graphql-java/issues/4479"}
| 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:8517acc6-1a3c-6f3d-1d54-1127c7d311da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE04:842EC:1EB2AB0:28E0A6A:6B01764B |
| html-safe-nonce | 5491d131d0cac2c251d3f61d4dfcf3e70c88ad8cd923606438d25e49a07edaca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTA0Ojg0MkVDOjFFQjJBQjA6MjhFMEE2QTo2QjAxNzY0QiIsInZpc2l0b3JfaWQiOiIxNTg4NzY1MTg0MDUzMzExMDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b4a0175d0f958f60229a46b67221a9dbe8afdbce9177a945d24411c459889a45 |
| hovercard-subject-tag | issue:5607406215 |
| 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/4479/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd14b362c226570c30314f70083ed151e7405065bd7a60d815bc71e4923ffa15/graphql-java/graphql-java/issues/4479 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd14b362c226570c30314f70083ed151e7405065bd7a60d815bc71e4923ffa15/graphql-java/graphql-java/issues/4479 |
| og:image:alt | Describe the problem The latest versions of graphql-java has implemented graphql/graphql-spec#1206 This allows a new location for directives directive @onDirective on DIRECTIVE_DEFINITION the stand... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bbakerman |
| 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