Title: Mandatory fields are not validated when inside a input object type · Issue #73 · graphql-java/graphql-java · GitHub
Open Graph Title: Mandatory fields are not validated when inside a input object type · Issue #73 · graphql-java/graphql-java
X Title: Mandatory fields are not validated when inside a input object type · Issue #73 · graphql-java/graphql-java
Description: When doing a relay-like mutation and you have a input object with the following schema: { "kind": "INPUT_OBJECT", "name": "ChangeFriendRequest", "description": null, "fields": null, "inputFields": [ { "name": "clientMutationId", "descrip...
Open Graph Description: When doing a relay-like mutation and you have a input object with the following schema: { "kind": "INPUT_OBJECT", "name": "ChangeFriendRequest", "description": null, "fields": null, "inputFields": ...
X Description: When doing a relay-like mutation and you have a input object with the following schema: { "kind": "INPUT_OBJECT", "name": "ChangeFriendRequest", "descri...
Opengraph URL: https://github.com/graphql-java/graphql-java/issues/73
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mandatory fields are not validated when inside a input object type","articleBody":"When doing a relay-like mutation and you have a input object with the following schema:\n\n```\n {\n \"kind\": \"INPUT_OBJECT\",\n \"name\": \"ChangeFriendRequest\",\n \"description\": null,\n \"fields\": null,\n \"inputFields\": [\n {\n \"name\": \"clientMutationId\",\n \"description\": null,\n \"type\": {\n \"kind\": \"SCALAR\",\n \"name\": \"String\",\n \"ofType\": null\n },\n \"defaultValue\": null\n },\n {\n \"name\": \"id\",\n \"description\": null,\n \"type\": {\n \"kind\": \"NON_NULL\",\n \"name\": null,\n \"ofType\": {\n \"kind\": \"SCALAR\",\n \"name\": \"String\",\n \"ofType\": null\n }\n }\n ],\n \"interfaces\": null,\n \"enumValues\": null,\n \"possibleTypes\": null\n }\n```\n\nSending in a mutation:\n\n```\nmutation ChangeFriendMutation(\\$input:ChangeFriendRequest) {\n changeFriend(input:\\$input) {\n clientMutationId\n }\n}\n```\n\nDoes not return a validation error when not sending the id as an variable in the ChangeFriendRequest input object.\n","author":{"url":"https://github.com/kristofdepypere","@type":"Person","name":"kristofdepypere"},"datePublished":"2016-01-25T08:33:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/73/graphql-java/issues/73"}
| 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:e54559e4-601f-9c14-aa16-ba6f57e89912 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5A8:3EDED5:3605568:4B05F46:6A60E1DC |
| html-safe-nonce | 3198faa6ccc0760bc085e4ff390da6c7069799dd4ca8d13138f92ecb3d535443 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUE4OjNFREVENTozNjA1NTY4OjRCMDVGNDY6NkE2MEUxREMiLCJ2aXNpdG9yX2lkIjoiNjAyMTE1NjU1MTQ1MzEwNjY1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7607daa2e3d9096a0b3a8de4addd77353e6a5ee7766cb3a87617010e288a4e9a |
| hovercard-subject-tag | issue:128487065 |
| 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/73/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8c28df4d2287c32e757795f89e68939eabd8c906f69d422f34ab898f1986144/graphql-java/graphql-java/issues/73 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8c28df4d2287c32e757795f89e68939eabd8c906f69d422f34ab898f1986144/graphql-java/graphql-java/issues/73 |
| og:image:alt | When doing a relay-like mutation and you have a input object with the following schema: { "kind": "INPUT_OBJECT", "name": "ChangeFriendRequest", "description": null, "fields": null, "inputFields": ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kristofdepypere |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1957f194e271fe30a03dc862496c17190cace7b76c3327faf05645d99ab7da7b |
| turbo-cache-control | no-preview |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| 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 | ce4ea0e3ce641f8f789b539253752038d78f1cfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width