Title: How to use user directives? · Issue #162 · graphql-python/graphql-core · GitHub
Open Graph Title: How to use user directives? · Issue #162 · graphql-python/graphql-core
X Title: How to use user directives? · Issue #162 · graphql-python/graphql-core
Description: Hi Most classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it? test = GraphQLDirective(name='test', locations=[DirectiveLocation.QUERY]) schema ...
Open Graph Description: Hi Most classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it? test = GraphQLDirective(name='test', loca...
X Description: Hi Most classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it? test = GraphQLDirective(name='tes...
Opengraph URL: https://github.com/graphql-python/graphql-core/issues/162
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to use user directives?","articleBody":"Hi\r\n\r\nMost classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it?\r\n\r\n```python\r\n\r\ntest = GraphQLDirective(name='test', locations=[DirectiveLocation.QUERY])\r\nschema = GraphQLSchema(query=query, types=[demo_type], directives=[test])\r\n```\r\nHow to apply test directive to query type?","author":{"url":"https://github.com/bronte2k7","@type":"Person","name":"bronte2k7"},"datePublished":"2022-03-10T19:18:41Z","url":"https://github.com/graphql-python/graphql-core/issues/162"}
| 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:f9d43522-381c-0224-112b-a6a741591ce5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE28:B7CF9:B7313:F69F9:6B001C34 |
| html-safe-nonce | 4a672bbd56b7cabf2f72f4736b138ab542f0985491ec0b09aec62530d2a388c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTI4OkI3Q0Y5OkI3MzEzOkY2OUY5OjZCMDAxQzM0IiwidmlzaXRvcl9pZCI6IjUzMDUzNzkyMDYyNDUzOTE0MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0f072cbcb93eb26d94c8011d8d3b91193c896dfb9ee8d5360c06b676a55abcdf |
| hovercard-subject-tag | issue:1165624425 |
| 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/162/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02829b3368a72c81d079b9c29b405499b1726a01120dbaf6761a69d5a8175654/graphql-python/graphql-core/issues/162 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02829b3368a72c81d079b9c29b405499b1726a01120dbaf6761a69d5a8175654/graphql-python/graphql-core/issues/162 |
| og:image:alt | Hi Most classes have good descriptions and examples. But GraphQLDirective doesn't include any examples. Therefore, there was a difficulty in how to use it? test = GraphQLDirective(name='test', loca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bronte2k7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width