Title: FieldVisibilitySchemaTransformation doesn't take union members into account · Issue #4185 · graphql-java/graphql-java · GitHub
Open Graph Title: FieldVisibilitySchemaTransformation doesn't take union members into account · Issue #4185 · graphql-java/graphql-java
X Title: FieldVisibilitySchemaTransformation doesn't take union members into account · Issue #4185 · graphql-java/graphql-java
Description: Found an interesting bug today The FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unions though, so it's possible to end up with a...
Open Graph Description: Found an interesting bug today The FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unions t...
X Description: Found an interesting bug today The FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unio...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4185
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FieldVisibilitySchemaTransformation doesn't take union members into account","articleBody":"Found an interesting bug today\n\nThe FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unions though, so it's possible to end up with an illegal schema where a union type has a union member that doesn't exist anymore.\n\nI'll put up a proper test case to explain this better","author":{"url":"https://github.com/dondonz","@type":"Person","name":"dondonz"},"datePublished":"2025-12-04T06:20:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4185/graphql-java/issues/4185"}
| 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:0b0914dd-1ca4-f14f-5e07-e4cb60867370 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8BA:27E5F5:D125D3:12675A9:696F4C2D |
| html-safe-nonce | 14c552592fb109bbd918c18f0d109caa6bb40c301abeefd8d8d916d0f8f05741 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEJBOjI3RTVGNTpEMTI1RDM6MTI2NzVBOTo2OTZGNEMyRCIsInZpc2l0b3JfaWQiOiI1Mjc2Mjc0ODE1NjA0MzEzMTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 02a6a057dc26b23b4cc0c4ae1b6d57209833f11eb8e37366c63a63b0aa020427 |
| hovercard-subject-tag | issue:3693110737 |
| 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/4185/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f81a7787958ff858ecb778f31a5761c3f44e0855e4d5b55b20ad85665fdd08a9/graphql-java/graphql-java/issues/4185 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f81a7787958ff858ecb778f31a5761c3f44e0855e4d5b55b20ad85665fdd08a9/graphql-java/graphql-java/issues/4185 |
| og:image:alt | Found an interesting bug today The FieldVisibilitySchemaTransformation eagerly deletes types that can no longer be accessed after a field is removed. This doesn't check for references from unions t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dondonz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49bb2ee76ae1b4ec758faefafda636ff20b05a9708bb290d28422cdf542ae979 |
| 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 | 036f37fe552777ac9c6ee661957f947285aab936 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width