René's URL Explorer Experiment


Title: Backport 26.1: validate circular default values by andimarek · Pull Request #4450 · graphql-java/graphql-java · GitHub

Open Graph Title: Backport 26.1: validate circular default values by andimarek · Pull Request #4450 · graphql-java/graphql-java

X Title: Backport 26.1: validate circular default values by andimarek · Pull Request #4450 · graphql-java/graphql-java

Description: Backport of #4253 to the 26.x maintenance branch. Input object fields can define default values in ways that form cycles. For example: input A { b: B = {} } input B { a: A = {} } The defaults form an infinitely expanding value. This PR implements the specification InputObjectDefaultValueHasCycle validation so these schemas are rejected during schema validation instead of overflowing while defaults are coerced. Implementation notes: Uses one shared traversal for literal and programmatic defaults. Supports the same programmatic list representations as GraphQL Java coercion, including Java arrays. Detects cycles before external argument and field defaults are coerced. Creates fresh validation-rule instances for each schema-validation run. Consolidates the SDL cases into data-driven tests and removes the duplicate integration test class. This behavior matches the GraphQL specification and graphql-js v17 implementation: https://spec.graphql.org/draft/#InputObjectDefaultValueHasCycle() graphql/graphql-js#3814

Open Graph Description: Backport of #4253 to the 26.x maintenance branch. Input object fields can define default values in ways that form cycles. For example: input A { b: B = {} } input B { a: A = {} } The defaults form ...

X Description: Backport of #4253 to the 26.x maintenance branch. Input object fields can define default values in ways that form cycles. For example: input A { b: B = {} } input B { a: A = {} } The defaults form ...

Opengraph URL: https://github.com/graphql-java/graphql-java/pull/4450

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:c3abb4d5-7a48-107e-2ae5-a030037cdc44
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD12:39A2F9:D16746:117BD97:6AED439A
html-safe-nonce4311afbcaabe2ff8f5adae46c40c596749de2f9d83c545056894277fe1a69480
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDEyOjM5QTJGOTpEMTY3NDY6MTE3QkQ5Nzo2QUVENDM5QSIsInZpc2l0b3JfaWQiOiI2MDY4MzE2NTM3OTEyOTAyNTU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace1f659dfd81229de9c280f8dbab9f7fa7eedb7cda5252f046f3a76cc50d3e78f
hovercard-subject-tagpull_request:4318594637
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/graphql-java/graphql-java/pull/4450/files
twitter:imagehttps://avatars.githubusercontent.com/u/1706744?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1706744?s=400&v=4
og:image:altBackport of #4253 to the 26.x maintenance branch. Input object fields can define default values in ways that form cycles. For example: input A { b: B = {} } input B { a: A = {} } The defaults form ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git
octolytics-dimension-user_id14289921
octolytics-dimension-user_logingraphql-java
octolytics-dimension-repository_id38602457
octolytics-dimension-repository_nwographql-java/graphql-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38602457
octolytics-dimension-repository_network_root_nwographql-java/graphql-java
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/graphql-java/graphql-java/pull/4450/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fpull%2F4450%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%2Fgraphql-java%2Fgraphql-java%2Fpull%2F4450%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=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/pull/4450/files
Reloadhttps://github.com/graphql-java/graphql-java/pull/4450/files
Reloadhttps://github.com/graphql-java/graphql-java/pull/4450/files
graphql-javahttps://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Codehttps://github.com/graphql-java/graphql-java
Issues27 (27)https://github.com/graphql-java/graphql-java/issues
Pull requests32 (32)https://github.com/graphql-java/graphql-java/pulls
Discussionshttps://github.com/graphql-java/graphql-java/discussions
Actionshttps://github.com/graphql-java/graphql-java/actions
Projectshttps://github.com/graphql-java/graphql-java/projects
Wikihttps://github.com/graphql-java/graphql-java/wiki
Security and qualityhttps://github.com/graphql-java/graphql-java/security
Insightshttps://github.com/graphql-java/graphql-java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgraphql-java%2Fgraphql-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java%2Fissues%2Fnew%2Fchoose
andimarekhttps://github.com/andimarek
26.xhttps://github.com/graphql-java/graphql-java/tree/26.x
codex/backport-4253-to-26.xhttps://github.com/graphql-java/graphql-java/tree/codex/backport-4253-to-26.x
Conversation 1 https://github.com/graphql-java/graphql-java/pull/4450
Commits 2 https://github.com/graphql-java/graphql-java/pull/4450/commits
Checks 10 https://github.com/graphql-java/graphql-java/pull/4450/checks
Files changed https://github.com/graphql-java/graphql-java/pull/4450/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/4450/files
Backport 26.1: validate circular default values https://github.com/graphql-java/graphql-java/pull/4450/files#top
Show all changes 2 commits https://github.com/graphql-java/graphql-java/pull/4450/files
63050e9 validate circular default values (#4253) jbellenger May 19, 2026 https://github.com/graphql-java/graphql-java/pull/4450/commits/63050e99c9080879b10c9f811d82af33b7cea581
915bf1e Simplify circular default value validation andimarek Aug 23, 2026 https://github.com/graphql-java/graphql-java/pull/4450/commits/915bf1ecc7a6d7c34b9b737aba636a469361d63d
Clear filters https://github.com/graphql-java/graphql-java/pull/4450/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/4450/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/4450/files
DefaultValuesAreValid.java https://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
NoDefaultValueCircularRefs.java https://github.com/graphql-java/graphql-java/pull/4450/files#diff-3632ac24a39cb30dc4901f8d09f502139b8cf6be9c4d655464462b9899e69a54
SchemaValidationErrorType.java https://github.com/graphql-java/graphql-java/pull/4450/files#diff-e015b8eb00c7046bc43599f58d9919c119cf35d33f2177e18d608fd1bb9ab4f8
SchemaValidator.java https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
SchemaDiffingTest.groovy https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c0c2d7fb8e186f128f734e6fd2b7512916d951c8eebb5376e77e2f6385cae525
NoDefaultValueCircularRefsTest.groovy https://github.com/graphql-java/graphql-java/pull/4450/files#diff-835bbc969285cd4534e681979cafc50064e8f0a76f79ae967eb65d62b09a3d29
SchemaValidatorTest.groovy https://github.com/graphql-java/graphql-java/pull/4450/files#diff-05d8104f949be383f380a7f78a265bda004f807396548ff874d6b2337376db70
src/main/java/graphql/schema/validation/DefaultValuesAreValid.javahttps://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
View file https://github.com/graphql-java/graphql-java/blob/915bf1ecc7a6d7c34b9b737aba636a469361d63d/src/main/java/graphql/schema/validation/DefaultValuesAreValid.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/4450/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-f3665dc61eed591657753e75e2239e288f4c696a9ee654b73b6dfa7644fa9827
src/main/java/graphql/schema/validation/NoDefaultValueCircularRefs.javahttps://github.com/graphql-java/graphql-java/pull/4450/files#diff-3632ac24a39cb30dc4901f8d09f502139b8cf6be9c4d655464462b9899e69a54
View file https://github.com/graphql-java/graphql-java/blob/915bf1ecc7a6d7c34b9b737aba636a469361d63d/src/main/java/graphql/schema/validation/NoDefaultValueCircularRefs.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/4450/{{ revealButtonHref }}
src/main/java/graphql/schema/validation/SchemaValidationErrorType.javahttps://github.com/graphql-java/graphql-java/pull/4450/files#diff-e015b8eb00c7046bc43599f58d9919c119cf35d33f2177e18d608fd1bb9ab4f8
View file https://github.com/graphql-java/graphql-java/blob/915bf1ecc7a6d7c34b9b737aba636a469361d63d/src/main/java/graphql/schema/validation/SchemaValidationErrorType.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/4450/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-e015b8eb00c7046bc43599f58d9919c119cf35d33f2177e18d608fd1bb9ab4f8
src/main/java/graphql/schema/validation/SchemaValidator.javahttps://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
View file https://github.com/graphql-java/graphql-java/blob/915bf1ecc7a6d7c34b9b737aba636a469361d63d/src/main/java/graphql/schema/validation/SchemaValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/4450/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c61128ed45b5042860e141f937a41901bfd98ce1561c282107e8f51c7d762035
src/test/groovy/graphql/schema/diffing/SchemaDiffingTest.groovyhttps://github.com/graphql-java/graphql-java/pull/4450/files#diff-c0c2d7fb8e186f128f734e6fd2b7512916d951c8eebb5376e77e2f6385cae525
View file https://github.com/graphql-java/graphql-java/blob/915bf1ecc7a6d7c34b9b737aba636a469361d63d/src/test/groovy/graphql/schema/diffing/SchemaDiffingTest.groovy
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/4450/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c0c2d7fb8e186f128f734e6fd2b7512916d951c8eebb5376e77e2f6385cae525
https://github.com/graphql-java/graphql-java/pull/4450/files#diff-c0c2d7fb8e186f128f734e6fd2b7512916d951c8eebb5376e77e2f6385cae525
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/4450/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/4450/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.