René's URL Explorer Experiment


Title: Nested inputobject in mutation input cannot be optional · Issue #72 · graphql-java/graphql-java · GitHub

Open Graph Title: Nested inputobject in mutation input cannot be optional · Issue #72 · graphql-java/graphql-java

X Title: Nested inputobject in mutation input cannot be optional · Issue #72 · graphql-java/graphql-java

Description: Suppose you do a relay-like mutation, with input object AddFriend as input object type. This input object type contains another List of nested input object types which is optional. The schema is more or less like follows: { "kind": "INPU...

Open Graph Description: Suppose you do a relay-like mutation, with input object AddFriend as input object type. This input object type contains another List of nested input object types which is optional. The schema is mo...

X Description: Suppose you do a relay-like mutation, with input object AddFriend as input object type. This input object type contains another List of nested input object types which is optional. The schema is mo...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nested inputobject in mutation input cannot be optional","articleBody":"Suppose you do a relay-like mutation, with input object AddFriend as input object type. This input object type contains another List of nested input object types which is optional. The schema is more or less like follows:\n\n```\n{\n          \"kind\": \"INPUT_OBJECT\",\n          \"name\": \"AddFriend\",\n          \"description\": null,\n          \"fields\": null,\n          \"inputFields\": [\n            {\n              \"name\": \"clientMutationId\",\n              \"description\": null,\n              \"type\": {\n                \"kind\": \"SCALAR\",\n                \"name\": \"String\",\n                \"ofType\": null\n              },\n              \"defaultValue\": null\n            },\n            {\n              \"name\": \"sharingRules\",\n              \"description\": null,\n              \"type\": {\n                \"kind\": \"LIST\",\n                \"name\": null,\n                \"ofType\": {\n                  \"kind\": \"INPUT_OBJECT\",\n                  \"name\": \"AddSharingRule\",\n                  \"ofType\": null\n                }\n              },\n              \"defaultValue\": null\n            }\n          ],\n          \"interfaces\": null,\n          \"enumValues\": null,\n          \"possibleTypes\": null\n        }\n```\n\nIf you send a mutation without any Sharing rule, you get a nullpointer with the followinng stacktrace:\n\n```\njava.lang.NullPointerException\n    at graphql.execution.ValuesResolver.coerceValueForInputObjectField(ValuesResolver.java:84)\n    at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:74)\n    at graphql.execution.ValuesResolver.coerceValueForList(ValuesResolver.java:107)\n    at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:72)\n    at graphql.execution.ValuesResolver.coerceValueForInputObjectField(ValuesResolver.java:84)\n    at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:74)\n    at graphql.execution.ValuesResolver.getVariableValue(ValuesResolver.java:59)\n    at graphql.execution.ValuesResolver.getVariableValues(ValuesResolver.java:16)\n    at graphql.execution.ExecutionContextBuilder.build(ExecutionContextBuilder.java:55)\n    at graphql.execution.Execution.execute(Execution.java:32)\n    at graphql.GraphQL.execute(GraphQL.java:78)\n    at graphql.GraphQL.execute(GraphQL.java:55)\n```\n","author":{"url":"https://github.com/kristofdepypere","@type":"Person","name":"kristofdepypere"},"datePublished":"2016-01-25T08:23:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/72/graphql-java/issues/72"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1bb288e5-88b3-6ec5-679c-d3532ecc169a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8002:249564:2E37C4A:4004BCB:6A60CA92
html-safe-noncecf465d5118c608d8170215c460e278baa2cb73406ca07ec764b3f3315de0b115
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDAyOjI0OTU2NDoyRTM3QzRBOjQwMDRCQ0I6NkE2MENBOTIiLCJ2aXNpdG9yX2lkIjoiMzM0MDg1NTYzNzQyMTY0MDMzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4b820d1eda764c0acb9f09b20c23d87c9082455186a8f21b3080c440736b100d
hovercard-subject-tagissue:128485742
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/72/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5996411988597c3f6df2955c276a3ac9548259c42ab33134e63ad9d2d1f7b4ab/graphql-java/graphql-java/issues/72
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5996411988597c3f6df2955c276a3ac9548259c42ab33134e63ad9d2d1f7b4ab/graphql-java/graphql-java/issues/72
og:image:altSuppose you do a relay-like mutation, with input object AddFriend as input object type. This input object type contains another List of nested input object types which is optional. The schema is mo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekristofdepypere
hostnamegithub.com
expected-hostnamegithub.com
Nonea9556c67fd2e63f5fecafc192915a3b089ef8170a9384ff6b59d7b4a2f6b73f8
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
releasef464e59c3a800187a50f3c89c36ee16df9992c1b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/72#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F72
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F72
Sign up https://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/72
Reloadhttps://github.com/graphql-java/graphql-java/issues/72
Reloadhttps://github.com/graphql-java/graphql-java/issues/72
Please reload this pagehttps://github.com/graphql-java/graphql-java/issues/72
graphql-java https://github.com/graphql-java
graphql-javahttps://github.com/graphql-java/graphql-java
Notifications https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Fork 1.1k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Star 6.2k https://github.com/login?return_to=%2Fgraphql-java%2Fgraphql-java
Code https://github.com/graphql-java/graphql-java
Issues 26 https://github.com/graphql-java/graphql-java/issues
Pull requests 11 https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality 0 https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
Code https://github.com/graphql-java/graphql-java
Issues https://github.com/graphql-java/graphql-java/issues
Pull requests https://github.com/graphql-java/graphql-java/pulls
Discussions https://github.com/graphql-java/graphql-java/discussions
Actions https://github.com/graphql-java/graphql-java/actions
Projects https://github.com/graphql-java/graphql-java/projects
Wiki https://github.com/graphql-java/graphql-java/wiki
Security and quality https://github.com/graphql-java/graphql-java/security
Insights https://github.com/graphql-java/graphql-java/pulse
Nested inputobject in mutation input cannot be optionalhttps://github.com/graphql-java/graphql-java/issues/72#top
https://github.com/kristofdepypere
kristofdepyperehttps://github.com/kristofdepypere
on Jan 25, 2016https://github.com/graphql-java/graphql-java/issues/72#issue-128485742
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.