René's URL Explorer Experiment


Title: DataFetcherResult.newResult() type parameter missing @Nullable bound for Kotlin JSpecify interop · Issue #4364 · graphql-java/graphql-java · GitHub

Open Graph Title: DataFetcherResult.newResult() type parameter missing @Nullable bound for Kotlin JSpecify interop · Issue #4364 · graphql-java/graphql-java

X Title: DataFetcherResult.newResult() type parameter missing @Nullable bound for Kotlin JSpecify interop · Issue #4364 · graphql-java/graphql-java

Description: Describe the bug DataFetcherResult and Builder correctly allow nullable T. However, the no-arg factory method still declares without the @Nullable bound: public static Build...

Open Graph Description: Describe the bug DataFetcherResult and Builder correctly allow nullable T. However, the no-arg factory method still declares without the ...

X Description: Describe the bug DataFetcherResult<T extends @Nullable Object> and Builder<T extends @Nullable Object> correctly allow nullable T. However, the no-arg factory method still declares <...

Opengraph URL: https://github.com/graphql-java/graphql-java/issues/4364

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DataFetcherResult.newResult\u003cT>() type parameter missing @Nullable bound for Kotlin JSpecify interop","articleBody":"**Describe the bug**\n\n`DataFetcherResult\u003cT extends @Nullable Object>` and `Builder\u003cT extends @Nullable Object>` correctly allow nullable T. However, the no-arg factory method still declares `\u003cT>` without the `@Nullable` bound:\n\n```java\npublic static \u003cT> Builder\u003cT> newResult() {\n    return new Builder\u003c>();\n}\n```\n\nUnder `@NullMarked`, Kotlin 2.1+ infers `T : Any`, making `DataFetcherResult.newResult\u003cMyType?>()` a compile error.\n\nThis is the same class of issue as #4179 (`getDataLoader` type bounds, fixed in #4180), but for `DataFetcherResult`.\n\n**To Reproduce**\n\n```kotlin\n// graphql-java 25.0, Kotlin 2.3+\n// Compile error: Type argument is not within its bounds: must be subtype of 'Any'\nval result = DataFetcherResult.newResult\u003cString?>()\n    .data(null)\n    .build()\n```\n\n**Expected behavior**\n\nThe above should compile. Fix:\n\n```java\n- public static \u003cT> Builder\u003cT> newResult()\n+ public static \u003cT extends @Nullable Object> Builder\u003cT> newResult()\n```\n\n**Note**: A fix already exists on branch `claude/kotlin-jspecify-e2e-test-rdaLf` (commit `f8f06a25`, Mar 8 2026) but has no associated PR.\n\n**Versions**: graphql-java 25.0, Kotlin 2.3.20","author":{"url":"https://github.com/mrmegapolys","@type":"Person","name":"mrmegapolys"},"datePublished":"2026-04-02T14:12:47Z","url":"https://github.com/graphql-java/graphql-java/issues/4364"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:02aac573-ac6e-3086-2331-d3ce2f7ef8a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD780:3B1A19:D5F609:11C6531:6AED4347
html-safe-nonceac8ad0af93b73d16366d82741441fb86dff485fa3180b7c1dab7e4a67c499ba8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzgwOjNCMUExOTpENUY2MDk6MTFDNjUzMTo2QUVENDM0NyIsInZpc2l0b3JfaWQiOiI4NDQ4NzczNjE3MzY4MjUzMjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac39c3ecd082b0f4919aec90e424b8b41344373b4a8167a3f03f04398fe79a57a3
hovercard-subject-tagissue:4194888998
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-java/graphql-java/4364/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c6a7e44d60ee2420b7e9f192a93e28662de627c4429ffefbf1b71ca94887d851/graphql-java/graphql-java/issues/4364
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c6a7e44d60ee2420b7e9f192a93e28662de627c4429ffefbf1b71ca94887d851/graphql-java/graphql-java/issues/4364
og:image:altDescribe the bug DataFetcherResult and Builder correctly allow nullable T. However, the no-arg factory method still declares without the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemrmegapolys
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-preview
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
disable-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/4364#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4364
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%2Fissues%2F4364
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/issues/4364
Reloadhttps://github.com/graphql-java/graphql-java/issues/4364
Reloadhttps://github.com/graphql-java/graphql-java/issues/4364
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
https://github.com/graphql-java/graphql-java
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4364
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4364
#4418https://github.com/graphql-java/graphql-java/pull/4418
DataFetcherResult.newResult() type parameter missing @Nullable bound for Kotlin JSpecify interophttps://github.com/graphql-java/graphql-java/issues/4364#top
#4418https://github.com/graphql-java/graphql-java/pull/4418
https://github.com/mrmegapolys
mrmegapolyshttps://github.com/mrmegapolys
on Apr 2, 2026https://github.com/graphql-java/graphql-java/issues/4364#issue-4194888998
#4179https://github.com/graphql-java/graphql-java/issues/4179
#4180https://github.com/graphql-java/graphql-java/pull/4180
dondonzhttps://github.com/dondonz
on Apr 3, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-24167529662
Fix DataFetcherResult.newResult() type parameter bounds for Kotlin JS…https://github.com/graphql-java/graphql-java/commit/2fe9ddbb8cf81aa19b426ff9d7fe7dbba771cdca
https://docs.github.com/articles/closing-issues-via-commit-messages
2fe9ddbhttps://github.com/graphql-java/graphql-java/commit/2fe9ddbb8cf81aa19b426ff9d7fe7dbba771cdca
Add ArchUnit check for @nullable type parameter bounds and fix DataFe…https://github.com/graphql-java/graphql-java/commit/5d17592a7fee75866d9dac93093372b1f9458dcc
@nullablehttps://github.com/nullable
https://docs.github.com/articles/closing-issues-via-commit-messages
5d17592https://github.com/graphql-java/graphql-java/commit/5d17592a7fee75866d9dac93093372b1f9458dcc
Fix #4364 and #4200: nullable type bound and empty union extension su…https://github.com/graphql-java/graphql-java/commit/7a3a5412334a5624d56b9275c24fb1320b702668
#4364https://github.com/graphql-java/graphql-java/issues/4364
#4200https://github.com/graphql-java/graphql-java/issues/4200
https://docs.github.com/articles/closing-issues-via-commit-messages
7a3a541https://github.com/graphql-java/graphql-java/commit/7a3a5412334a5624d56b9275c24fb1320b702668
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jun 2, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4597746873
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
Stalehttps://github.com/graphql-java/graphql-java/issues?q=state%3Aopen%20label%3A%22Stale%22
on Jun 2, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-26213386256
https://github.com/Syer10
Syer10https://github.com/Syer10
on Jun 2, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4597782947
github-actionshttps://github.com/apps/github-actions
Stalehttps://github.com/graphql-java/graphql-java/issues?q=state%3Aopen%20label%3A%22Stale%22
on Jun 3, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-26263769469
https://github.com/bbakerman
bbakermanhttps://github.com/bbakerman
on Jun 6, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4636808480
bbakermanhttps://github.com/bbakerman
completedhttps://github.com/graphql-java/graphql-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 6, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-26410095919
https://github.com/mrmegapolys
mrmegapolyshttps://github.com/mrmegapolys
on Jun 6, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4637825349
@bbakermanhttps://github.com/bbakerman
bbakermanhttps://github.com/bbakerman
on Jun 9, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-26499288109
https://github.com/bbakerman
bbakermanhttps://github.com/bbakerman
on Jun 9, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4655124407
https://github.com/hiSandog
hiSandoghttps://github.com/hiSandog
on Jul 3, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-4872284108
#4179https://github.com/graphql-java/graphql-java/issues/4179
#4180https://github.com/graphql-java/graphql-java/pull/4180
https://github.com/exijn
exijnhttps://github.com/exijn
on Jul 17, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-5004105086
https://github.com/yonatang
yonatanghttps://github.com/yonatang
on Aug 13, 2026https://github.com/graphql-java/graphql-java/issues/4364#issuecomment-5276252899
#4418https://github.com/graphql-java/graphql-java/pull/4418
bbakermanhttps://github.com/bbakerman
completedhttps://github.com/graphql-java/graphql-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4418https://github.com/graphql-java/graphql-java/pull/4418
on Aug 14, 2026https://github.com/graphql-java/graphql-java/issues/4364#event-29434337049
Sign up for freehttps://github.com/signup?return_to=https://github.com/graphql-java/graphql-java/issues/4364
Sign in to commenthttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4364
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.