Title: Input Validation · Issue #6 · graphql-java/graphql-java-extended-validation · GitHub
Open Graph Title: Input Validation · Issue #6 · graphql-java/graphql-java-extended-validation
X Title: Input Validation · Issue #6 · graphql-java/graphql-java-extended-validation
Description: Hello, Thank you for your work on this extended validation. This is very helpful. I am using graphql-java-kickstart with a very basic schema, and noticed that input used as arguments of a mutation would not be validated unless in an arra...
Open Graph Description: Hello, Thank you for your work on this extended validation. This is very helpful. I am using graphql-java-kickstart with a very basic schema, and noticed that input used as arguments of a mutation ...
X Description: Hello, Thank you for your work on this extended validation. This is very helpful. I am using graphql-java-kickstart with a very basic schema, and noticed that input used as arguments of a mutation ...
Opengraph URL: https://github.com/graphql-java/graphql-java-extended-validation/issues/6
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Input Validation","articleBody":"Hello,\r\n\r\nThank you for your work on this extended validation. This is very helpful.\r\n\r\nI am using graphql-java-kickstart with a very basic schema, and noticed that input used as arguments of a mutation would not be validated unless in an array with its own rule.\r\n\r\nExample:\r\n```\r\ninput UserInput {\r\n name: String @Size( min : 2, max : 255)\r\n}\r\n\r\nmutation {\r\n #does not trigger validation\r\n createUser(userInput: UserInput): User \r\n #does not trigger validation\r\n createUser(userInputs: [UserInput]): [User]\r\n #trigger validation on both arguments and inputs\r\n createUser(userInputs: [UserInput] @Size( min : 0, max : 1)): User\r\n}\r\n```\r\nAm I missing something? Is it the intended behavior or a restriction of graphql-java-tools (if so, it should be documented)?","author":{"url":"https://github.com/lilianchiassai","@type":"Person","name":"lilianchiassai"},"datePublished":"2019-10-09T14:15:27Z","url":"https://github.com/graphql-java/graphql-java-extended-validation/issues/6"}
| 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:f22d936c-8076-1d04-81de-1dbc856d73b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5A0:29AEE8:219AEE8:2CBC468:6B018667 |
| html-safe-nonce | 9864744817703cebd24afb4eb67c5234480a6586f90d85fccd9760ff63639670 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUEwOjI5QUVFODoyMTlBRUU4OjJDQkM0Njg6NkIwMTg2NjciLCJ2aXNpdG9yX2lkIjoiNTM0MDk0MzAzNDM5OTk1MDQzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13b483cd8d57f81282aa6b51ee780de35dd396b1e272b963fdb6ee98721812e6 |
| hovercard-subject-tag | issue:504681503 |
| 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-java/graphql-java-extended-validation/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/63b772bb5a595952876cb8941f458cad4fe62eb607611eb131af9db1d8ed808b/graphql-java/graphql-java-extended-validation/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/63b772bb5a595952876cb8941f458cad4fe62eb607611eb131af9db1d8ed808b/graphql-java/graphql-java-extended-validation/issues/6 |
| og:image:alt | Hello, Thank you for your work on this extended validation. This is very helpful. I am using graphql-java-kickstart with a very basic schema, and noticed that input used as arguments of a mutation ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lilianchiassai |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java-extended-validation git https://github.com/graphql-java/graphql-java-extended-validation.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 205507809 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java-extended-validation |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205507809 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java-extended-validation |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width