Title: AST classes Breaking changes in graphql-core 3.3.0a12 · Issue #262 · graphql-python/graphql-core · GitHub
Open Graph Title: AST classes Breaking changes in graphql-core 3.3.0a12 · Issue #262 · graphql-python/graphql-core
X Title: AST classes Breaking changes in graphql-core 3.3.0a12 · Issue #262 · graphql-python/graphql-core
Description: Since the latest graphql-core version (3.3.0a12), tests are failing with gql. I believe the PR #256 is causing breaking changes in gql by making all the AST classes read-only and without good default values. Here is the mypy output of gq...
Open Graph Description: Since the latest graphql-core version (3.3.0a12), tests are failing with gql. I believe the PR #256 is causing breaking changes in gql by making all the AST classes read-only and without good defau...
X Description: Since the latest graphql-core version (3.3.0a12), tests are failing with gql. I believe the PR #256 is causing breaking changes in gql by making all the AST classes read-only and without good defau...
Opengraph URL: https://github.com/graphql-python/graphql-core/issues/262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AST classes Breaking changes in graphql-core 3.3.0a12","articleBody":"Since the latest graphql-core version (3.3.0a12), tests are failing with [gql](https://github.com/graphql-python/gql/).\n\nI believe the PR #256 is causing breaking changes in gql by making all the AST classes read-only and without good default values.\n\nHere is the mypy output of gql showing the problems:\n\n```\ngql/utilities/parse_result.py:127: error: Property \"name\" defined in \"OperationDefinitionNode\" is read-only [misc]\ngql/utilities/parse_result.py:241: error: Argument \"selections\" to \"SelectionSetNode\" has incompatible type \"list[FieldNode]\"; expected \"tuple[SelectionNode, ...]\" [arg-type]\ngql/dsl.py:436: error: Argument \"value\" to \"ArgumentNode\" has incompatible type \"ValueNode | None\"; expected \"ValueNode\" [arg-type]\ngql/dsl.py:599: error: Property \"alias\" defined in \"FieldNode\" is read-only [misc]\ngql/dsl.py:670: error: Property \"selections\" defined in \"SelectionSetNode\" is read-only [misc]\ngql/dsl.py:802: error: Argument 4 to \"OperationDefinitionNode\" has incompatible type \"**dict[str, NameNode]\"; expected \"Location | None\" [arg-type]\ngql/dsl.py:860: error: Argument \"type\" to \"NonNullTypeNode\" has incompatible type \"TypeNode\"; expected \"NamedTypeNode | ListTypeNode\" [arg-type]\ngql/dsl.py:927: error: Argument \"type\" to \"VariableDefinitionNode\" has incompatible type \"TypeNode | None\"; expected \"TypeNode\" [arg-type]\ngql/dsl.py:934: error: Argument \"directives\" to \"VariableDefinitionNode\" has incompatible type \"tuple[DirectiveNode, ...]\"; expected \"tuple[ConstDirectiveNode, ...]\" [arg-type]\ngql/dsl.py:1144: error: Property \"arguments\" defined in \"FieldNode\" is read-only [misc]\ngql/dsl.py:1147: error: Argument \"value\" to \"ArgumentNode\" has incompatible type \"ValueNode | None\"; expected \"ValueNode\" [arg-type]\ngql/dsl.py:1178: error: Property \"selection_set\" defined in \"FieldNode\" is read-only [misc]\ngql/dsl.py:1185: error: Property \"directives\" defined in \"FieldNode\" is read-only [misc]\ngql/dsl.py:1257: error: Missing named argument \"selection_set\" for \"InlineFragmentNode\" [call-arg]\ngql/dsl.py:1269: error: Property \"selection_set\" defined in \"InlineFragmentNode\" is read-only [misc]\ngql/dsl.py:1277: error: Property \"type_condition\" defined in \"InlineFragmentNode\" is read-only [misc]\ngql/dsl.py:1288: error: Property \"directives\" defined in \"InlineFragmentNode\" is read-only [misc]\ngql/dsl.py:1341: error: Property \"directives\" defined in \"FragmentSpreadNode\" is read-only [misc]\ngql/dsl.py:1385: error: Property \"value\" defined in \"NameNode\" is read-only [misc]\ngql/dsl.py:1455: error: Argument 3 to \"FragmentDefinitionNode\" has incompatible type \"**dict[str, tuple[VariableDefinitionNode, ...]]\"; expected \"Location | None\" [arg-type]\ngql/dsl.py:1519: error: Argument \"definitions\" to \"DocumentNode\" has incompatible type \"list[Any]\"; expected \"tuple[DefinitionNode, ...]\" [arg-type]\n```\n\nSee [gql issue #588](https://github.com/graphql-python/gql/issues/588)","author":{"url":"https://github.com/leszekhanusz","@type":"Person","name":"leszekhanusz"},"datePublished":"2026-03-30T20:01:55Z","url":"https://github.com/graphql-python/graphql-core/issues/262"}
| 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:4660a418-75f5-7e3a-a86b-9c20e7bab2a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF48:392206:4358A7:5789AF:6AFFBF0D |
| html-safe-nonce | fb8a7c8f5b5c2806da2478b82bec63d531996b63c6c0419a56324a7facdb16de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQ4OjM5MjIwNjo0MzU4QTc6NTc4OUFGOjZBRkZCRjBEIiwidmlzaXRvcl9pZCI6IjE1NzM3MjMzODgyNDM4NTMwNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a2f4222c7f5360f1e6e53229ca42c41698ed39dbb2e334eaca55ea58cc3bbff3 |
| hovercard-subject-tag | issue:4173710853 |
| 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/262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/54c4d8213fe1f5bd4a446b31c6612b56b45fe00dd6f7f2f86fe3c23459287c70/graphql-python/graphql-core/issues/262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/54c4d8213fe1f5bd4a446b31c6612b56b45fe00dd6f7f2f86fe3c23459287c70/graphql-python/graphql-core/issues/262 |
| og:image:alt | Since the latest graphql-core version (3.3.0a12), tests are failing with gql. I believe the PR #256 is causing breaking changes in gql by making all the AST classes read-only and without good defau... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leszekhanusz |
| 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