Title: Allow passing rules directly into the graphql function · Issue #70 · graphql-python/graphql-core · GitHub
Open Graph Title: Allow passing rules directly into the graphql function · Issue #70 · graphql-python/graphql-core
X Title: Allow passing rules directly into the graphql function · Issue #70 · graphql-python/graphql-core
Description: I wanted to add some custom validation rules in addition to the default graphql.specified_rules. Unless I'm mistaken, the only way to do so is to manually call validate with the new rules, which means that I basically have to duplicate a...
Open Graph Description: I wanted to add some custom validation rules in addition to the default graphql.specified_rules. Unless I'm mistaken, the only way to do so is to manually call validate with the new rules, which me...
X Description: I wanted to add some custom validation rules in addition to the default graphql.specified_rules. Unless I'm mistaken, the only way to do so is to manually call validate with the new rules, whic...
Opengraph URL: https://github.com/graphql-python/graphql-core/issues/70
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow passing rules directly into the graphql function","articleBody":"I wanted to add some custom validation rules in addition to the default `graphql.specified_rules`. Unless I'm mistaken, the only way to do so is to manually call `validate` with the new rules, which means that I basically have to duplicate all the code inside of `async def graphql`, and change the validation step in order to pass in my custom rules. Is it possible instead to just allow clients to pass the rules they want to use into the top-level `graphql` call? ","author":{"url":"https://github.com/asgoel","@type":"Person","name":"asgoel"},"datePublished":"2019-12-06T02:19:50Z","url":"https://github.com/graphql-python/graphql-core/issues/70"}
| 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:0ab010d7-ee75-dd88-199f-f9ec9d2322be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F08:F5AA9:ED5FEC:13F2BEE:6AFFBB03 |
| html-safe-nonce | 145e90c5f9614a5789655751cd413cb52a65222f817ea3a75d7dc74099aa9e98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjA4OkY1QUE5OkVENUZFQzoxM0YyQkVFOjZBRkZCQjAzIiwidmlzaXRvcl9pZCI6IjcxOTc3MTI2NzE2NjYxNjMyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb0da1e3db8927b2ec39a2bfedf9f0c8b7ce9bb38f7851c528436b513f35f48b |
| hovercard-subject-tag | issue:533705711 |
| 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/70/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa29d330e97bc522421faa817b3e414eb0985520a49e7cc05c0d55e552280cb5/graphql-python/graphql-core/issues/70 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa29d330e97bc522421faa817b3e414eb0985520a49e7cc05c0d55e552280cb5/graphql-python/graphql-core/issues/70 |
| og:image:alt | I wanted to add some custom validation rules in addition to the default graphql.specified_rules. Unless I'm mistaken, the only way to do so is to manually call validate with the new rules, which me... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asgoel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7e461843db1c75e40d788c5cfd440d0e4ae1271cf19e06a798d0e7feb2d708f3 |
| 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 | d29a6a99861646939301302fab465f9f123b4773 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width