Title: SchemaPrinter not outputting "extend schema" for extensionDefinitions · Issue #3428 · graphql-java/graphql-java · GitHub
Open Graph Title: SchemaPrinter not outputting "extend schema" for extensionDefinitions · Issue #3428 · graphql-java/graphql-java
X Title: SchemaPrinter not outputting "extend schema" for extensionDefinitions · Issue #3428 · graphql-java/graphql-java
Description: Describe the bug When calling graphql.schema.idl.SchemaPrinter#schemaPrinter with a schema that has graphql.schema.GraphQLSchema#extensionDefinitions defined, I would expect it to print out the "extend schema" string. I would expect the ...
Open Graph Description: Describe the bug When calling graphql.schema.idl.SchemaPrinter#schemaPrinter with a schema that has graphql.schema.GraphQLSchema#extensionDefinitions defined, I would expect it to print out the "ex...
X Description: Describe the bug When calling graphql.schema.idl.SchemaPrinter#schemaPrinter with a schema that has graphql.schema.GraphQLSchema#extensionDefinitions defined, I would expect it to print out the &qu...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/3428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SchemaPrinter not outputting \"extend schema\" for extensionDefinitions","articleBody":"**Describe the bug**\r\nWhen calling `graphql.schema.idl.SchemaPrinter#schemaPrinter` with a schema that has `graphql.schema.GraphQLSchema#extensionDefinitions` defined, I would expect it to print out the \"extend schema\" string. I would expect the `graphql.schema.idl.SchemaPrinter#schemaPrinter` to:\r\n\r\n1. Check if `options.isUseAstDefinitions()` returns `true`.\r\n2. Print \"extend schema\" for each `out.print(AstPrinter.printAst(extension));`.\r\n\r\nAlternatively, is there another method to enable printing of the extensions?\r\n","author":{"url":"https://github.com/RoKKim","@type":"Person","name":"RoKKim"},"datePublished":"2024-01-31T14:04:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3428/graphql-java/issues/3428"}
| 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:e893d6fd-12e9-7b0e-d283-ce6ab2a61cce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B14C:15FECB:252144:31675D:6A614B52 |
| html-safe-nonce | 8606c2f9e27afa50f272cff633d507a863893c2054b5ae5f0a7ff42fcb0d0b9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTRDOjE1RkVDQjoyNTIxNDQ6MzE2NzVEOjZBNjE0QjUyIiwidmlzaXRvcl9pZCI6IjIyMTU2OTcyMTgwMjc5OTgwMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 438218835a31842b0778425986d92a9cd642c6ab09d6356c6faf1626072956dc |
| hovercard-subject-tag | issue:2110170641 |
| 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/3428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d3c9d7d4c4abe19d18461a16004767724c5b32a8326194bc375918c12b0ed019/graphql-java/graphql-java/issues/3428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3c9d7d4c4abe19d18461a16004767724c5b32a8326194bc375918c12b0ed019/graphql-java/graphql-java/issues/3428 |
| og:image:alt | Describe the bug When calling graphql.schema.idl.SchemaPrinter#schemaPrinter with a schema that has graphql.schema.GraphQLSchema#extensionDefinitions defined, I would expect it to print out the "ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RoKKim |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4876c15b81beff1a5306612a3386748550c731559f1dbbe4cf7146fda63fc0e0 |
| 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 | 3e1bd3b6ebab0d27ffbef3a6bbb1043bc5f098ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width