René's URL Explorer Experiment


Title: Better describe what `Coercing.valueToLiteral` is for · Issue #3558 · graphql-java/graphql-java · GitHub

Open Graph Title: Better describe what `Coercing.valueToLiteral` is for · Issue #3558 · graphql-java/graphql-java

X Title: Better describe what `Coercing.valueToLiteral` is for · Issue #3558 · graphql-java/graphql-java

Description: While upgrading to GraphQL Java 21, I stumbled over the method valueToLiteral offered by the Coercing interface. So far, when implementing a custom scalar, I haven't bothered about implementing this method and have not encountered any pr...

Open Graph Description: While upgrading to GraphQL Java 21, I stumbled over the method valueToLiteral offered by the Coercing interface. So far, when implementing a custom scalar, I haven't bothered about implementing thi...

X Description: While upgrading to GraphQL Java 21, I stumbled over the method valueToLiteral offered by the Coercing interface. So far, when implementing a custom scalar, I haven't bothered about implementing...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better describe what `Coercing.valueToLiteral` is for","articleBody":"While upgrading to GraphQL Java 21, I stumbled over the method `valueToLiteral` offered by the `Coercing` interface. So far, when implementing a custom scalar, I haven't bothered about implementing this method and have not encountered any problems so far although the default implementation throws an exception.\r\n\r\nIn the JavaDoc of the `Coercing` interface, it says that \"every valid external input values for `parseValue(Object)` is also valid for `valueToLiteral(Object)` and vice versa\" which suggest that the argument to `valueToLiteral` should be in serialized form. However, when looking at implementations of this method, I see that most often `serialze` is called first on the argument, which suggests otherwise.\r\n\r\nCould you please improve the JavaDoc and also the [documentation](https://www.graphql-java.com/documentation/scalars/) on custom scalars, which does not mention this method at all?","author":{"url":"https://github.com/ummels","@type":"Person","name":"ummels"},"datePublished":"2024-04-08T06:49:26Z","url":"https://github.com/graphql-java/graphql-java/issues/3558"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a0c1dca4-ab18-c9e8-ec0d-d6bdbfe6d411
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA538:29FFA9:255E8FA:2F5186A:6B0188C2
html-safe-nonce51c65792ee7bf5dae57e84311f50c97a6f9d786435d42717634baaf27bb086dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTM4OjI5RkZBOToyNTVFOEZBOjJGNTE4NkE6NkIwMTg4QzIiLCJ2aXNpdG9yX2lkIjoiMzU1MjE2MjI3NzQzNDE2NTQ0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd7a6191d64a8f9103691798bb420f657d928411adf8788cf523b8b9052430005
hovercard-subject-tagissue:2230400102
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/3558/issue_layout
twitter:imagehttps://opengraph.githubassets.com/232d04d679163d7968b48f818e1b62a203c962932ed447bfb56baf7cf50ef3d1/graphql-java/graphql-java/issues/3558
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/232d04d679163d7968b48f818e1b62a203c962932ed447bfb56baf7cf50ef3d1/graphql-java/graphql-java/issues/3558
og:image:altWhile upgrading to GraphQL Java 21, I stumbled over the method valueToLiteral offered by the Coercing interface. So far, when implementing a custom scalar, I haven't bothered about implementing thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameummels
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/graphql-java/graphql-java/issues/3558#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgraphql-java%2Fgraphql-java%2Fissues%2F3558
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%2F3558
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/3558
Reloadhttps://github.com/graphql-java/graphql-java/issues/3558
Reloadhttps://github.com/graphql-java/graphql-java/issues/3558
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 requests35 (35)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/insights
https://github.com/graphql-java/graphql-java
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/3558
New issuehttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/3558
#4561https://github.com/graphql-java/graphql-java/pull/4561
Better describe what Coercing.valueToLiteral is forhttps://github.com/graphql-java/graphql-java/issues/3558#top
#4561https://github.com/graphql-java/graphql-java/pull/4561
keep-openTells Stale Bot to keep PRs and issues openhttps://github.com/graphql-java/graphql-java/issues?q=state%3Aopen%20label%3A%22keep-open%22
https://github.com/ummels
ummelshttps://github.com/ummels
on Apr 8, 2024https://github.com/graphql-java/graphql-java/issues/3558#issue-2230400102
documentationhttps://www.graphql-java.com/documentation/scalars/
https://github.com/bbakerman
bbakermanhttps://github.com/bbakerman
on Apr 9, 2024https://github.com/graphql-java/graphql-java/issues/3558#issuecomment-2043988907
https://github.com/dondonz
dondonzhttps://github.com/dondonz
on Apr 9, 2024https://github.com/graphql-java/graphql-java/issues/3558#issuecomment-2044128838
@andimarekhttps://github.com/andimarek
https://scalars.graphql.org/implementation-guide.htmlhttps://scalars.graphql.org/implementation-guide.html
https://scalars.graphql.org/implementation-guide.html#sec-Raw-Input-Value-to-Literalhttps://scalars.graphql.org/implementation-guide.html#sec-Raw-Input-Value-to-Literal
@bbakermanhttps://github.com/bbakerman
dondonzhttps://github.com/dondonz
keep-openTells Stale Bot to keep PRs and issues openhttps://github.com/graphql-java/graphql-java/issues?q=state%3Aopen%20label%3A%22keep-open%22
on Jun 4, 2024https://github.com/graphql-java/graphql-java/issues/3558#event-13041965485
dondonzhttps://github.com/dondonz
on Apr 3, 2026https://github.com/graphql-java/graphql-java/issues/3558#event-24172915646
docs: clarify Coercing.valueToLiteral JavaDochttps://github.com/graphql-java/graphql-java/commit/7f8819311d8caf9ddaddf9c8e877d1226df9580d
https://docs.github.com/articles/closing-issues-via-commit-messages
7f88193https://github.com/graphql-java/graphql-java/commit/7f8819311d8caf9ddaddf9c8e877d1226df9580d
https://github.com/idsoke
idsokehttps://github.com/idsoke
on Nov 14, 2026https://github.com/graphql-java/graphql-java/issues/3558#issuecomment-6877457520
@dondonzhttps://github.com/dondonz
https://github.com/andimarek
andimarekhttps://github.com/andimarek
on Nov 14, 2026https://github.com/graphql-java/graphql-java/issues/3558#issuecomment-6884517117
@idsokehttps://github.com/idsoke
idsokehttps://github.com/idsoke
on Nov 14, 2026https://github.com/graphql-java/graphql-java/issues/3558#event-36155705851
Clarify what Coercing.valueToLiteral receives and when it is calledhttps://github.com/idsoke/graphql-java/commit/932eb601d0773c937eff8d77106cbf4a77a46f99
https://docs.github.com/articles/closing-issues-via-commit-messages
932eb60https://github.com/idsoke/graphql-java/commit/932eb601d0773c937eff8d77106cbf4a77a46f99
bbakermanhttps://github.com/bbakerman
completedhttps://github.com/graphql-java/graphql-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
932eb60https://github.com/graphql-java/graphql-java/commit/932eb601d0773c937eff8d77106cbf4a77a46f99
on Nov 15, 2026https://github.com/graphql-java/graphql-java/issues/3558#event-36219996888
Sign up for freehttps://github.com/signup?return_to=https://github.com/graphql-java/graphql-java/issues/3558
Sign in to commenthttps://github.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/3558
keep-openTells Stale Bot to keep PRs and issues openhttps://github.com/graphql-java/graphql-java/issues?q=state%3Aopen%20label%3A%22keep-open%22
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.