René's URL Explorer Experiment


Title: Improve NonNullableValueCoercedAsNullException message by dondonz · Pull Request #2774 · graphql-java/graphql-java · GitHub

Open Graph Title: Improve NonNullableValueCoercedAsNullException message by dondonz · Pull Request #2774 · graphql-java/graphql-java

X Title: Improve NonNullableValueCoercedAsNullException message by dondonz · Pull Request #2774 · graphql-java/graphql-java

Description: In #2761, the message from NonNullableValueCoercedAsNullException made it hard to identify the offending value. This PR improves the exception's message. Before and after Before, we would throw throw new NonNullableValueCoercedAsNullException("", emptyList(), graphQLType); Which led to this unclear message Field '' has coerced Null value for NonNull type 'String!' Now, the message will include the offending variable's name and the reason for the exception Variable 'foo' has invalid value: Coerced Null value for NonNull type 'String!'

Open Graph Description: In #2761, the message from NonNullableValueCoercedAsNullException made it hard to identify the offending value. This PR improves the exception's message. Before and after Before, we would throw...

X Description: In #2761, the message from NonNullableValueCoercedAsNullException made it hard to identify the offending value. This PR improves the exception's message. Before and after Before, we would t...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:83cae67d-4c6c-5497-275a-76607dfa2975
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC150:F0ECB:23B41AD:34335A7:6A60CBDE
html-safe-nonceaba579051339d9f53f762810f2abfdd0a3541e459d8f6e1ec095e9372d432e24
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTUwOkYwRUNCOjIzQjQxQUQ6MzQzMzVBNzo2QTYwQ0JERSIsInZpc2l0b3JfaWQiOiIyNzIxMDE2MjE3OTM5NzkwODE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2e5fb273cc424b2b003921dd95eb56e235490446e952eac649b9004cc682d132
hovercard-subject-tagpull_request:890732046
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/2774/files
twitter:imagehttps://avatars.githubusercontent.com/u/13839920?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13839920?s=400&v=4
og:image:altIn #2761, the message from NonNullableValueCoercedAsNullException made it hard to identify the offending value. This PR improves the exception's message. Before and after Before, we would throw...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea9556c67fd2e63f5fecafc192915a3b089ef8170a9384ff6b59d7b4a2f6b73f8
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
releasef464e59c3a800187a50f3c89c36ee16df9992c1b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/pull/2774/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fpull%2F2774%2Ffiles
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%2Fpull%2F2774%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://github.com/graphql-java/graphql-java/pull/2774/files
Reloadhttps://github.com/graphql-java/graphql-java/pull/2774/files
Reloadhttps://github.com/graphql-java/graphql-java/pull/2774/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/2774/files
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
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
bbakermanhttps://github.com/bbakerman
graphql-java:masterhttps://github.com/graphql-java/graphql-java/tree/master
dondonz:2761-Non-nullable-value-coerced-as-null-exceptionhttps://github.com/dondonz/graphql-java/tree/2761-Non-nullable-value-coerced-as-null-exception
Conversation 6 https://github.com/graphql-java/graphql-java/pull/2774
Commits 3 https://github.com/graphql-java/graphql-java/pull/2774/commits
Checks 0 https://github.com/graphql-java/graphql-java/pull/2774/checks
Files changed https://github.com/graphql-java/graphql-java/pull/2774/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/2774/files
Improve NonNullableValueCoercedAsNullException message https://github.com/graphql-java/graphql-java/pull/2774/files#top
Show all changes 3 commits https://github.com/graphql-java/graphql-java/pull/2774/files
97d55ef Add full error message for NonNullableValueCoercedAsNullException dondonz Mar 26, 2022 https://github.com/graphql-java/graphql-java/pull/2774/commits/97d55eff6d16e1e9a1587c1863b414cc1f3d0bc9
99a73f0 Add tests for improved NonNullableValueCoercedAsNullException dondonz Mar 26, 2022 https://github.com/graphql-java/graphql-java/pull/2774/commits/99a73f0cb36c97efcde94b03b4c7f9996a446b07
e5db4d5 Remove empty path and improve grammar dondonz Mar 27, 2022 https://github.com/graphql-java/graphql-java/pull/2774/commits/e5db4d557ea9fc135fdea3532897f16392cc1857
Clear filters https://github.com/graphql-java/graphql-java/pull/2774/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/2774/files
Please reload this pagehttps://github.com/graphql-java/graphql-java/pull/2774/files
NonNullableValueCoercedAsNullException.java https://github.com/graphql-java/graphql-java/pull/2774/files#diff-51bb69be406235f5e33c80c8902140d2a65a55cec90c86dff343c635734efb38
ValuesResolver.java https://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
Issue743.groovy https://github.com/graphql-java/graphql-java/pull/2774/files#diff-4ef68a63b3b539d1e0b6db70e213a3cb18c4d19429daa9a12db671ec08725705
NullVariableCoercionTest.groovy https://github.com/graphql-java/graphql-java/pull/2774/files#diff-60b1bfc532ce46bd7b8419c5f91c20775ee254470470bfaae329532c6f6d3e22
ValuesResolverTest.groovy https://github.com/graphql-java/graphql-java/pull/2774/files#diff-6df3af80107d5608b74eb17ef8f3b544ff9cf0e6c4ea06b02bf0accabf119821
src/main/java/graphql/execution/NonNullableValueCoercedAsNullException.javahttps://github.com/graphql-java/graphql-java/pull/2774/files#diff-51bb69be406235f5e33c80c8902140d2a65a55cec90c86dff343c635734efb38
View file https://github.com/dondonz/graphql-java/blob/e5db4d557ea9fc135fdea3532897f16392cc1857/src/main/java/graphql/execution/NonNullableValueCoercedAsNullException.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/2774/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-51bb69be406235f5e33c80c8902140d2a65a55cec90c86dff343c635734efb38
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-51bb69be406235f5e33c80c8902140d2a65a55cec90c86dff343c635734efb38
src/main/java/graphql/execution/ValuesResolver.javahttps://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
View file https://github.com/dondonz/graphql-java/blob/e5db4d557ea9fc135fdea3532897f16392cc1857/src/main/java/graphql/execution/ValuesResolver.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/2774/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-5574cfd989be07c440b2e43f9eb0fac3c3490561ba036b1dea9ce7695101ba9e
src/test/groovy/graphql/Issue743.groovyhttps://github.com/graphql-java/graphql-java/pull/2774/files#diff-4ef68a63b3b539d1e0b6db70e213a3cb18c4d19429daa9a12db671ec08725705
View file https://github.com/dondonz/graphql-java/blob/e5db4d557ea9fc135fdea3532897f16392cc1857/src/test/groovy/graphql/Issue743.groovy
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/2774/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-4ef68a63b3b539d1e0b6db70e213a3cb18c4d19429daa9a12db671ec08725705
src/test/groovy/graphql/NullVariableCoercionTest.groovyhttps://github.com/graphql-java/graphql-java/pull/2774/files#diff-60b1bfc532ce46bd7b8419c5f91c20775ee254470470bfaae329532c6f6d3e22
View file https://github.com/dondonz/graphql-java/blob/e5db4d557ea9fc135fdea3532897f16392cc1857/src/test/groovy/graphql/NullVariableCoercionTest.groovy
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/2774/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-60b1bfc532ce46bd7b8419c5f91c20775ee254470470bfaae329532c6f6d3e22
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-60b1bfc532ce46bd7b8419c5f91c20775ee254470470bfaae329532c6f6d3e22
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-60b1bfc532ce46bd7b8419c5f91c20775ee254470470bfaae329532c6f6d3e22
src/test/groovy/graphql/execution/ValuesResolverTest.groovyhttps://github.com/graphql-java/graphql-java/pull/2774/files#diff-6df3af80107d5608b74eb17ef8f3b544ff9cf0e6c4ea06b02bf0accabf119821
View file https://github.com/dondonz/graphql-java/blob/e5db4d557ea9fc135fdea3532897f16392cc1857/src/test/groovy/graphql/execution/ValuesResolverTest.groovy
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/graphql-java/graphql-java/pull/2774/{{ revealButtonHref }}
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-6df3af80107d5608b74eb17ef8f3b544ff9cf0e6c4ea06b02bf0accabf119821
https://github.com/graphql-java/graphql-java/pull/2774/files#diff-6df3af80107d5608b74eb17ef8f3b544ff9cf0e6c4ea06b02bf0accabf119821
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.