René's URL Explorer Experiment


Title: Hide deprecated schema elements from query validation when generateDeprecated is false by velo · Pull Request #3609 · OpenFeign/feign · GitHub

Open Graph Title: Hide deprecated schema elements from query validation when generateDeprecated is false by velo · Pull Request #3609 · OpenFeign/feign

X Title: Hide deprecated schema elements from query validation when generateDeprecated is false by velo · Pull Request #3609 · OpenFeign/feign

Description: Problem generateDeprecated = false only stopped the generator from emitting deprecated fields and enum constants. Queries were still validated against the full schema, so selecting a deprecated field compiled fine and the field was silently dropped from the generated record. Change When the effective generateDeprecated (class-level, or method-level Toggle override) is false, QueryValidator walks each query with graphql-java's QueryTraverser after normal validation and reports every deprecated element it uses: fields, arguments, input fields, enum values, including enum values in variable defaults. The error names the element and its @deprecated reason, e.g. Field 'email' is deprecated (use emails instead) and generateDeprecated is false. An earlier revision stripped deprecated elements from a copy of the schema. That made graphql-java reject valid schemas (enum or input defaults that use a deprecated value, types whose fields are all deprecated, interface fields deprecated in an implementation) for every interface, so it was replaced. Also removes the deprecated-field filter in TypeGenerator.buildResultType, which can no longer run, and documents the setting in graphql-apt/README.md. Behaviour change Interfaces that select deprecated fields with generateDeprecated = false used to compile (dropping the field) and now fail with a GraphQL validation error. Tests Parameterized cases for a deprecated field (literal and variable argument), argument, enum literal, enum variable default, and input-object field, each asserting its message, with the toggle set at class level and at method level; the same queries compile when enabled deprecated-edge-schema.graphql fixture with the schema shapes that broke the stripping approach, compiled with the flag on and off Removed assertions that could no longer fail

Open Graph Description: Problem generateDeprecated = false only stopped the generator from emitting deprecated fields and enum constants. Queries were still validated against the full schema, so selecting a deprecated fie...

X Description: Problem generateDeprecated = false only stopped the generator from emitting deprecated fields and enum constants. Queries were still validated against the full schema, so selecting a deprecated fie...

Opengraph URL: https://github.com/OpenFeign/feign/pull/3609

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:63be9f54-a691-77a8-965e-880ab0228e79
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id914A:2CAC94:10A556D:15D59BF:6AED65DB
html-safe-noncece3c75c7f129a14a77a791299251f6f0c434792a8d02f0b6e6a07b66d4e34124
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTRBOjJDQUM5NDoxMEE1NTZEOjE1RDU5QkY6NkFFRDY1REIiLCJ2aXNpdG9yX2lkIjoiNzA3MDc2ODU3MDU4ODU1NDcxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb288aca68fd74bdf665c8347febde21a34828eb83b1668d59bf91f890b4c6946
hovercard-subject-tagpull_request:4778317865
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/OpenFeign/feign/pull/3609/files
twitter:imagehttps://avatars.githubusercontent.com/u/136590?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/136590?s=400&v=4
og:image:altProblem generateDeprecated = false only stopped the generator from emitting deprecated fields and enum constants. Queries were still validated against the full schema, so selecting a deprecated fie...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/OpenFeign/feign git https://github.com/OpenFeign/feign.git
octolytics-dimension-user_id20077752
octolytics-dimension-user_loginOpenFeign
octolytics-dimension-repository_id10981994
octolytics-dimension-repository_nwoOpenFeign/feign
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10981994
octolytics-dimension-repository_network_root_nwoOpenFeign/feign
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/OpenFeign/feign/pull/3609/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenFeign%2Ffeign%2Fpull%2F3609%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenFeign%2Ffeign%2Fpull%2F3609%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=OpenFeign%2Ffeign
Reloadhttps://github.com/OpenFeign/feign/pull/3609/files
Reloadhttps://github.com/OpenFeign/feign/pull/3609/files
Reloadhttps://github.com/OpenFeign/feign/pull/3609/files
OpenFeignhttps://github.com/OpenFeign
feignhttps://github.com/OpenFeign/feign
Codehttps://github.com/OpenFeign/feign
Issues209 (209)https://github.com/OpenFeign/feign/issues
Pull requests26 (26)https://github.com/OpenFeign/feign/pulls
Actionshttps://github.com/OpenFeign/feign/actions
Projectshttps://github.com/OpenFeign/feign/projects
Wikihttps://github.com/OpenFeign/feign/wiki
Security and qualityhttps://github.com/OpenFeign/feign/security
Insightshttps://github.com/OpenFeign/feign/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FOpenFeign%2Ffeign%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FOpenFeign%2Ffeign%2Fissues%2Fnew%2Fchoose
velohttps://github.com/velo
masterhttps://github.com/OpenFeign/feign/tree/master
graphql-apt-hide-deprecatedhttps://github.com/OpenFeign/feign/tree/graphql-apt-hide-deprecated
Conversation 0 https://github.com/OpenFeign/feign/pull/3609
Commits 2 https://github.com/OpenFeign/feign/pull/3609/commits
Checks 4 https://github.com/OpenFeign/feign/pull/3609/checks
Files changed https://github.com/OpenFeign/feign/pull/3609/files
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3609/files
Hide deprecated schema elements from query validation when generateDeprecated is false https://github.com/OpenFeign/feign/pull/3609/files#top
Show all changes 2 commits https://github.com/OpenFeign/feign/pull/3609/files
2d9fc83 Hide deprecated schema elements from query validation when generateDe… velo Oct 7, 2026 https://github.com/OpenFeign/feign/pull/3609/commits/2d9fc83e32aef1b2ae9ec7e81a85eb2e2c439b3d
e12afc0 Report deprecated schema elements used in queries instead of strippin… velo Oct 7, 2026 https://github.com/OpenFeign/feign/pull/3609/commits/e12afc00a0bfb079e551902a1a85b08a03c66010
Clear filters https://github.com/OpenFeign/feign/pull/3609/files
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3609/files
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3609/files
README.md https://github.com/OpenFeign/feign/pull/3609/files#diff-f8cf6ed8c2f72a3ac3474b49440675e5ae65fe7187c411fa2c60b7d43afe1306
GraphqlSchemaProcessor.java https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
QueryValidator.java https://github.com/OpenFeign/feign/pull/3609/files#diff-e08fd697f228e35e66e9a92ee54fc982a344866850af9fb156dc805c31f0c59d
TypeGenerator.java https://github.com/OpenFeign/feign/pull/3609/files#diff-23f29d2fdc62d71c1c5bbafc2433d6ab9e64f43668c1cd6fab5b319974b33ad1
GraphqlSchemaProcessorTest.java https://github.com/OpenFeign/feign/pull/3609/files#diff-a8f19ae39b37d427e13a955122187c370216ef1ac16355da8f47d6ec6c1acf45
deprecated-edge-schema.graphql https://github.com/OpenFeign/feign/pull/3609/files#diff-8a0fe68619d62bca69b29db39354ec797137ed6c463489b0e8ae4cfd6c5726ea
deprecated-test-schema.graphql https://github.com/OpenFeign/feign/pull/3609/files#diff-90f7f9b8694bd2dc5505060ae7a2e720a3eceaaab93e2f8d699d50350cb73fba
graphql-apt/README.mdhttps://github.com/OpenFeign/feign/pull/3609/files#diff-f8cf6ed8c2f72a3ac3474b49440675e5ae65fe7187c411fa2c60b7d43afe1306
View file https://github.com/OpenFeign/feign/blob/e12afc00a0bfb079e551902a1a85b08a03c66010/graphql-apt/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3609/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3609/files#diff-f8cf6ed8c2f72a3ac3474b49440675e5ae65fe7187c411fa2c60b7d43afe1306
https://github.com/OpenFeign/feign/pull/3609/files#diff-f8cf6ed8c2f72a3ac3474b49440675e5ae65fe7187c411fa2c60b7d43afe1306
graphql-apt/src/main/java/feign/graphql/apt/GraphqlSchemaProcessor.javahttps://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
View file https://github.com/OpenFeign/feign/blob/e12afc00a0bfb079e551902a1a85b08a03c66010/graphql-apt/src/main/java/feign/graphql/apt/GraphqlSchemaProcessor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3609/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
https://github.com/OpenFeign/feign/pull/3609/files#diff-d32fc3c99a619ca2457b6474e09c6e0ce92d3e2377ffe719b422338c4d931d29
graphql-apt/src/main/java/feign/graphql/apt/QueryValidator.javahttps://github.com/OpenFeign/feign/pull/3609/files#diff-e08fd697f228e35e66e9a92ee54fc982a344866850af9fb156dc805c31f0c59d
View file https://github.com/OpenFeign/feign/blob/e12afc00a0bfb079e551902a1a85b08a03c66010/graphql-apt/src/main/java/feign/graphql/apt/QueryValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3609/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3609/files#diff-e08fd697f228e35e66e9a92ee54fc982a344866850af9fb156dc805c31f0c59d
https://github.com/OpenFeign/feign/pull/3609/files#diff-e08fd697f228e35e66e9a92ee54fc982a344866850af9fb156dc805c31f0c59d
https://github.com/OpenFeign/feign/pull/3609/files#diff-e08fd697f228e35e66e9a92ee54fc982a344866850af9fb156dc805c31f0c59d
graphql-apt/src/main/java/feign/graphql/apt/TypeGenerator.javahttps://github.com/OpenFeign/feign/pull/3609/files#diff-23f29d2fdc62d71c1c5bbafc2433d6ab9e64f43668c1cd6fab5b319974b33ad1
View file https://github.com/OpenFeign/feign/blob/e12afc00a0bfb079e551902a1a85b08a03c66010/graphql-apt/src/main/java/feign/graphql/apt/TypeGenerator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3609/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3609/files#diff-23f29d2fdc62d71c1c5bbafc2433d6ab9e64f43668c1cd6fab5b319974b33ad1
https://github.com/OpenFeign/feign/pull/3609/files#diff-23f29d2fdc62d71c1c5bbafc2433d6ab9e64f43668c1cd6fab5b319974b33ad1
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3609/files
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3609/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.