René's URL Explorer Experiment


Title: Dependency graph design · Issue #1566 · graphql-java/graphql-java · GitHub

Open Graph Title: Dependency graph design · Issue #1566 · graphql-java/graphql-java

X Title: Dependency graph design · Issue #1566 · graphql-java/graphql-java

Description: I want to capture here some thoughts about the Dependency graph (see #1409). One of the main challenges is the dynamic aspects of a query (type conditions). For exampel for this schema: type Query{ node: Node } interface Animal { name: S...

Open Graph Description: I want to capture here some thoughts about the Dependency graph (see #1409). One of the main challenges is the dynamic aspects of a query (type conditions). For exampel for this schema: type Query{...

X Description: I want to capture here some thoughts about the Dependency graph (see #1409). One of the main challenges is the dynamic aspects of a query (type conditions). For exampel for this schema: type Query{...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dependency graph design","articleBody":"I want to capture here some thoughts about the Dependency graph (see #1409).\r\n\r\nOne of the main challenges is the dynamic aspects of a query (type conditions). \r\n\r\nFor exampel for this schema:\r\n```graphql\r\ntype Query{ \r\n    node: Node\r\n}\r\ninterface Animal {\r\n    name: String\r\n    friends: [Friend]\r\n}\r\n\r\nunion Pet = Dog | Cat\r\n\r\ntype Friend {\r\n    name: String\r\n    isBirdOwner: Bool\r\n    isCatOwner: Bool\r\n    pets: [Pet] \r\n}\r\n\r\ntype Bird implements Animal {\r\n   name: String \r\n   friends: [Friend]\r\n}\r\n\r\ntype Cat implements Animal{\r\n   name: String \r\n   friends: [Friend]\r\n   breed: CatBreed \r\n}\r\n\r\ntype Dog implements Animal{\r\n   name: String \r\n   breed: DogBreed\r\n   friends: [Friend]\r\n}\r\n\r\nscalar DogBreed\r\nscalar CatBreed\r\n```\r\none can imagine this query:\r\n\r\n```graphql\r\n{\r\n  node\r\n  ... on Cat {\r\n    friends {\r\n      isCatOwner\r\n      name\r\n      pets {\r\n        name\r\n        ... on Cat {\r\n          breed\r\n        }\r\n      }\r\n    }\r\n  }\r\n  ... on Bird {\r\n    name\r\n    friends {\r\n      isBirdOwner\r\n      name\r\n      pets {\r\n        name\r\n        ... on Dog {\r\n          breed\r\n        }\r\n      }\r\n    }\r\n  }\r\n  ... on Dog {\r\n    name\r\n  }\r\n}\r\n\r\n```\r\n\r\nThe question is now how the dependency graph should capture these dynamic type conditions. \r\nOne possible way could be this:\r\n\u003cimg width=\"1041\" alt=\"Screen Shot 2019-06-10 at 11 15 36 am\" src=\"https://user-images.githubusercontent.com/1706744/59166846-1c11ba80-8b71-11e9-89cc-bf488405a91b.png\"\u003e\r\n\r\nBut the value of this kind of dependency graph maybe limited because it doesn't uphold to one fundamental expectation that every field is only present once.\r\nThe `/node/friends/pets/name` field is duplicated because it will only be executed if we have a `Bird` or a `Cat`, but not for a `Dog`. \r\n\r\nSame is true for `/node/friends/pets` and `/node/friends/name`.\r\n\r\nThe alternative could maybe look like this:\r\n\u003cimg width=\"890\" alt=\"Screen Shot 2019-06-10 at 11 34 45 am\" src=\"https://user-images.githubusercontent.com/1706744/59167289-cb4f9100-8b73-11e9-86da-3968f5e46639.png\"\u003e\r\n\r\n\r\n\r\nIt doesn't duplicate any fields anymore but now there are complex conditions associated with some nodes. For example `/node/friends/pets/breed` will only be evaluated if the original node is a `Cat` and the pet is a `Dog`.\r\n\r\n","author":{"url":"https://github.com/andimarek","@type":"Person","name":"andimarek"},"datePublished":"2019-06-10T01:30:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/1566/graphql-java/issues/1566"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fae81280-9cec-84f5-2ed6-90fd5894720b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2CE:365392:18468:2213D:696F9E43
html-safe-nonce657caf92e383d1557a9109f38353e9020ba6eb8ea82ac04622a0e4338b56edab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkNFOjM2NTM5MjoxODQ2ODoyMjEzRDo2OTZGOUU0MyIsInZpc2l0b3JfaWQiOiI2MDYzMDEyNTQ4MzcwNTA5NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacba3d875f1001b3deeeeb280ce925563651c620d2e2e3304f94ffc69b89511e71
hovercard-subject-tagissue:453963673
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/1566/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3c775b04a349bf37e3a61b6488ea6ce0a8d6df4c67ef00b66d82506d54161e55/graphql-java/graphql-java/issues/1566
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3c775b04a349bf37e3a61b6488ea6ce0a8d6df4c67ef00b66d82506d54161e55/graphql-java/graphql-java/issues/1566
og:image:altI want to capture here some thoughts about the Dependency graph (see #1409). One of the main challenges is the dynamic aspects of a query (type conditions). For exampel for this schema: type Query{...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandimarek
hostnamegithub.com
expected-hostnamegithub.com
None0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb
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
release95f60616ce2765d1114fe6da4af405a58c6d26d2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/1566#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%2F1566
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%2F1566
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=graphql-java%2Fgraphql-java
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/1566
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/1566
Reloadhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/1566
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/1566
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/1566
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/graphql-java/graphql-java/issues/1566
Dependency graph designhttps://patch-diff.githubusercontent.com/graphql-java/graphql-java/issues/1566#top
https://github.com/andimarek
https://github.com/andimarek
andimarekhttps://github.com/andimarek
on Jun 10, 2019https://github.com/graphql-java/graphql-java/issues/1566#issue-453963673
#1409https://github.com/graphql-java/graphql-java/pull/1409
https://user-images.githubusercontent.com/1706744/59166846-1c11ba80-8b71-11e9-89cc-bf488405a91b.png
https://user-images.githubusercontent.com/1706744/59167289-cb4f9100-8b73-11e9-86da-3968f5e46639.png
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.