Title: Typo in Flask view context · Issue #137 · graphql-python/graphql-server · GitHub
Open Graph Title: Typo in Flask view context · Issue #137 · graphql-python/graphql-server
X Title: Typo in Flask view context · Issue #137 · graphql-python/graphql-server
Description: Hi all, just a small one: The line graphql-server/src/graphql_server/flask/views.py Line 145 in 2d5ac95 operationName=request_data.operation_name, creates the context with operationName but the template graphql-server/src/graphql_server/...
Open Graph Description: Hi all, just a small one: The line graphql-server/src/graphql_server/flask/views.py Line 145 in 2d5ac95 operationName=request_data.operation_name, creates the context with operationName but the tem...
X Description: Hi all, just a small one: The line graphql-server/src/graphql_server/flask/views.py Line 145 in 2d5ac95 operationName=request_data.operation_name, creates the context with operationName but the tem...
Opengraph URL: https://github.com/graphql-python/graphql-server/issues/137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Typo in Flask view context","articleBody":"Hi all, just a small one:\n\nThe line https://github.com/graphql-python/graphql-server/blob/2d5ac9539307d6db22b3364a61063e050c3f20b9/src/graphql_server/flask/views.py#L145 creates the context with `operationName` but the template https://github.com/graphql-python/graphql-server/blob/2d5ac9539307d6db22b3364a61063e050c3f20b9/src/graphql_server/static/graphiql.html#L199 expects `operation_name`. Probably `request_data.to_template_context()` is meant to be used which does use `operation_name`: https://github.com/graphql-python/graphql-server/blob/2d5ac9539307d6db22b3364a61063e050c3f20b9/src/graphql_server/http/__init__.py#L74\n\nThanks!","author":{"url":"https://github.com/jahs","@type":"Person","name":"jahs"},"datePublished":"2025-11-03T12:33:27Z","url":"https://github.com/graphql-python/graphql-server/issues/137"}
| 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:6717886e-a91f-d520-8828-b50246c5dcd7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A0C8:37E442:159D3F:1C0ABE:6AFF91AD |
| html-safe-nonce | dad33cb54909bd046218b6af6a0a26852679ab2b5ceff4ca6257f70142be8874 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEM4OjM3RTQ0MjoxNTlEM0Y6MUMwQUJFOjZBRkY5MUFEIiwidmlzaXRvcl9pZCI6Ijg2MjM3NDMwMDMzNjc1NTExNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b9984933b96b738a5dd117966edc422baaca1afbb93f4540bb3eade152a8b8a1 |
| hovercard-subject-tag | issue:3581871841 |
| 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-server/137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b684cea136aa04581f15e2d9ff9f7fbba0a36e6d53166b596fac8a844281360/graphql-python/graphql-server/issues/137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b684cea136aa04581f15e2d9ff9f7fbba0a36e6d53166b596fac8a844281360/graphql-python/graphql-server/issues/137 |
| og:image:alt | Hi all, just a small one: The line graphql-server/src/graphql_server/flask/views.py Line 145 in 2d5ac95 operationName=request_data.operation_name, creates the context with operationName but the tem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jahs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2c75d045e8c84b51e2ac680086a6dd1eeaf2bc15b82137d22ee5106835d6256c |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-python/graphql-server git https://github.com/graphql-python/graphql-server.git |
| octolytics-dimension-user_id | 15002022 |
| octolytics-dimension-user_login | graphql-python |
| octolytics-dimension-repository_id | 85903189 |
| octolytics-dimension-repository_nwo | graphql-python/graphql-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85903189 |
| octolytics-dimension-repository_network_root_nwo | graphql-python/graphql-server |
| 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 | aa486b0389431f870c0adf9d4758aaff807c2d97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width