Title: Support extending interfaces · Issue #147 · graphql-python/graphql-core · GitHub
Open Graph Title: Support extending interfaces · Issue #147 · graphql-python/graphql-core
X Title: Support extending interfaces · Issue #147 · graphql-python/graphql-core
Description: Reporting issues with GraphQL-core 3 The GraphQL protocol already supports interfaces extending other interfaces like interface Identifiable { id: ID! } interface Resource implements Identifiable { id: ID! name: String! } type SomeResour...
Open Graph Description: Reporting issues with GraphQL-core 3 The GraphQL protocol already supports interfaces extending other interfaces like interface Identifiable { id: ID! } interface Resource implements Identifiable {...
X Description: Reporting issues with GraphQL-core 3 The GraphQL protocol already supports interfaces extending other interfaces like interface Identifiable { id: ID! } interface Resource implements Identifiable {...
Opengraph URL: https://github.com/graphql-python/graphql-core/issues/147
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support extending interfaces","articleBody":"# Reporting issues with GraphQL-core 3\r\n\r\nThe GraphQL protocol already supports interfaces extending other interfaces like\r\n```graphql\r\ninterface Identifiable {\r\n id: ID!\r\n}\r\n\r\ninterface Resource implements Identifiable {\r\n id: ID!\r\n name: String!\r\n}\r\n\r\ntype SomeResource implements Resource {\r\n id: ID!\r\n name: String!\r\n}\r\n```\r\n\r\nWhen loading the schema we get an error\r\n```\r\nFile \"/usr/local/lib/python3.6/site-packages/graphql/type/validate.py\", line 91, in assert_valid_schema\r\n raise TypeError(\"\\n\\n\".join(error.message for error in errors))\r\n TypeError: Type SomeResource must implement Identifiable because it is implemented by Resource.\r\n```\r\nThis can be solved by doing\r\n```graphql\r\ntype SomeResource implements Resource & Identifiable {\r\n id: ID!\r\n name: String\r\n}\r\n```\r\nBut its a bit annoying","author":{"url":"https://github.com/sebastiandev","@type":"Person","name":"sebastiandev"},"datePublished":"2021-11-22T14:59:02Z","url":"https://github.com/graphql-python/graphql-core/issues/147"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:98ee9742-806e-4c07-5595-ccc318a37a4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7A6:16605A:5F74BD:7BD206:6AFFC758 |
| html-safe-nonce | 7c3b0c77536b14ecb6dae1bfee38ad23add3dcec55e8844beb83695dfe8c6155 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0E2OjE2NjA1QTo1Rjc0QkQ6N0JEMjA2OjZBRkZDNzU4IiwidmlzaXRvcl9pZCI6IjQyNTgwNzk5NzU0Njg0MTg5MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62b1740fa37e0e3f5043355417c0f19107759c4733e93058c901e2773e28a607 |
| hovercard-subject-tag | issue:1060256811 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/graphql-python/graphql-core/147/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7965f816443418000513b105506475df7a368e39ab272ad2ab0eec346dcee0b6/graphql-python/graphql-core/issues/147 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7965f816443418000513b105506475df7a368e39ab272ad2ab0eec346dcee0b6/graphql-python/graphql-core/issues/147 |
| og:image:alt | Reporting issues with GraphQL-core 3 The GraphQL protocol already supports interfaces extending other interfaces like interface Identifiable { id: ID! } interface Resource implements Identifiable {... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sebastiandev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-python/graphql-core git https://github.com/graphql-python/graphql-core.git |
| octolytics-dimension-user_id | 15002022 |
| octolytics-dimension-user_login | graphql-python |
| octolytics-dimension-repository_id | 143207933 |
| octolytics-dimension-repository_nwo | graphql-python/graphql-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143207933 |
| octolytics-dimension-repository_network_root_nwo | graphql-python/graphql-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8fa4a54e6871c7908eda1c246ad5972982c0b59d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width