René's URL Explorer Experiment


Title: GitHub · Where software is built

Open Graph Title: graphql-java/graphql-java

X Title: graphql-java/graphql-java

Description: GraphQL Java implementation. Contribute to graphql-java/graphql-java development by creating an account on GitHub.

Open Graph Description: GraphQL Java implementation. Contribute to graphql-java/graphql-java development by creating an account on GitHub.

X Description: GraphQL Java implementation. Contribute to graphql-java/graphql-java development by creating an account on GitHub.

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Validation of deprecated non-nullable non-default argument is not correct","articleBody":"**Describe the bug**\nGraphQL specification [prohibits](https://github.com/graphql/graphql-spec/blob/September2025/spec/Section%203%20--%20Type%20System.md?plain=1#L2271-L2284) deprecation directive on non-nullable arguments without a default value, but graphql-java allows creation of such schema programmatically although there is validation (`DeprecatedInputObjectAndArgumentsAreValid`) that should prevent that. \n\nLet say a new argument is created like this:\n```\nGraphQLArgument deprecatedArg = GraphQLArgument.newArgument()\n  .name(\"argument\")\n  .type(GraphQLNonNull.nonNull(Scalars.GraphQLString))\n  .deprecate(\"Some very good reason\")\n  .build();\n```\nThe validation then tries to find `deprecated` applied directive:\nhttps://github.com/graphql-java/graphql-java/blob/aa0b31ebf28fdbf17d659800f6e8e6e1381dde50/src/main/java/graphql/schema/validation/DeprecatedInputObjectAndArgumentsAreValid.java#L46\n\nBut `deprecatedDirective` is `null`, and so it's reported as valid schema.  The fix seems to be calling of `argument.isDeprecated()`, or combination of both approaches. \n\n**To Reproduce**\n\n```\nGraphQLArgument deprecatedArg = GraphQLArgument.newArgument()\n        .name(\"input\")\n        .type(GraphQLNonNull.nonNull(Scalars.GraphQLString))\n        .deprecate(\"Some very good reason\")\n        .build();\n\nGraphQLFieldDefinition field = GraphQLFieldDefinition.newFieldDefinition()\n        .name(\"field\")\n        .type(Scalars.GraphQLString)\n        .argument(deprecatedArg)\n        .dataFetcher(env -\u003e env.getArgument(\"input\")) // for simplicity\n        .build();\n\nGraphQLObjectType queryType = GraphQLObjectType.newObject()\n        .name(\"Query\")\n        .field(field)\n        .build();\n\nGraphQLSchema.newSchema()\n        .query(queryType)\n        .build(); // this method internally do the validation and should throw exception\n```\n\nEquivalent schema (implicit parts are omitted):\n```\ntype Query {\n  field(input: String! @deprecated(reason : \"Some very good reason\")): String\n}\n```\n","author":{"url":"https://github.com/Blemicek","@type":"Person","name":"Blemicek"},"datePublished":"2025-12-01T19:50:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4182/graphql-java/issues/4182"}

route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:f5682ff1-2c26-f1a6-ca39-c112c7dfd7b1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC972:2DEF11:55133E:78DB43:696F84C9
html-safe-noncebc9c57c7106a5d564e2b17d6e20f6e01b9bf81579e7f65a8d80783635f7938b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTcyOjJERUYxMTo1NTEzM0U6NzhEQjQzOjY5NkY4NEM5IiwidmlzaXRvcl9pZCI6IjQxMjU4ODI2Njg3Nzc3MDI2MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3b8bf644fc09b9949a3169bb4680eee832d1c89a8ee00498bcbf4dab99557047
hovercard-subject-tagrepository:38602457
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/graphql-java/graphql-java/issues/4182
twitter:imagehttps://opengraph.githubassets.com/0c13f74bf56ef9481083b996ed372a8c4e69475deea920c1e7cab971eeb3c3f5/graphql-java/graphql-java
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c13f74bf56ef9481083b996ed372a8c4e69475deea920c1e7cab971eeb3c3f5/graphql-java/graphql-java
og:image:altGraphQL Java implementation. Contribute to graphql-java/graphql-java development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec1b02b4e3a8edff2fe0bd71b0551654be66034591c7ab65aaaaf61a6096862d3
turbo-cache-controlno-cache
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
release4a1073fcc34432ac33cec03885ff2d96920686de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4182
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F4182
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182
graphql-java https://patch-diff.githubusercontent.com/graphql-java
graphql-javahttps://patch-diff.githubusercontent.com/graphql-java/graphql-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Fork 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Star 6.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Code https://patch-diff.githubusercontent.com/graphql-java/graphql-java
Issues 40 https://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues
Pull requests 17 https://patch-diff.githubusercontent.com/graphql-java/graphql-java/pulls
Discussions https://patch-diff.githubusercontent.com/graphql-java/graphql-java/discussions
Actions https://patch-diff.githubusercontent.com/graphql-java/graphql-java/actions
Projects 0 https://patch-diff.githubusercontent.com/graphql-java/graphql-java/projects
Wiki https://patch-diff.githubusercontent.com/graphql-java/graphql-java/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/graphql-java/graphql-java/security
Please reload this pagehttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182
Insights https://patch-diff.githubusercontent.com/graphql-java/graphql-java/pulse
Code https://patch-diff.githubusercontent.com/graphql-java/graphql-java
Issues https://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues
Pull requests https://patch-diff.githubusercontent.com/graphql-java/graphql-java/pulls
Discussions https://patch-diff.githubusercontent.com/graphql-java/graphql-java/discussions
Actions https://patch-diff.githubusercontent.com/graphql-java/graphql-java/actions
Projects https://patch-diff.githubusercontent.com/graphql-java/graphql-java/projects
Wiki https://patch-diff.githubusercontent.com/graphql-java/graphql-java/wiki
Security https://patch-diff.githubusercontent.com/graphql-java/graphql-java/security
Insights https://patch-diff.githubusercontent.com/graphql-java/graphql-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4182
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/4182
Validation of deprecated non-nullable non-default argument is not correcthttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/4182#top
https://github.com/Blemicek
https://github.com/Blemicek
Blemicekhttps://github.com/Blemicek
on Dec 1, 2025https://github.com/graphql-java/graphql-java/issues/4182#issue-3682598893
prohibitshttps://github.com/graphql/graphql-spec/blob/September2025/spec/Section%203%20--%20Type%20System.md?plain=1#L2271-L2284
graphql-java/src/main/java/graphql/schema/validation/DeprecatedInputObjectAndArgumentsAreValid.javahttps://github.com/graphql-java/graphql-java/blob/aa0b31ebf28fdbf17d659800f6e8e6e1381dde50/src/main/java/graphql/schema/validation/DeprecatedInputObjectAndArgumentsAreValid.java#L46
aa0b31ehttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/commit/aa0b31ebf28fdbf17d659800f6e8e6e1381dde50
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.