{"action":"created","issue":{"url":"https://api.github.com/repos/apollographql/graphql-tools/issues/179","repository_url":"https://api.github.com/repos/apollographql/graphql-tools","labels_url":"https://api.github.com/repos/apollographql/graphql-tools/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/apollographql/graphql-tools/issues/179/comments","events_url":"https://api.github.com/repos/apollographql/graphql-tools/issues/179/events","html_url":"https://github.com/apollographql/graphql-tools/issues/179","id":183583334,"number":179,"title":"Feature request: support for composite Input Types","user":{"login":"GreenAsJade","id":61894,"avatar_url":"https://avatars1.githubusercontent.com/u/61894?v=4","gravatar_id":"","url":"https://api.github.com/users/GreenAsJade","html_url":"https://github.com/GreenAsJade","followers_url":"https://api.github.com/users/GreenAsJade/followers","following_url":"https://api.github.com/users/GreenAsJade/following{/other_user}","gists_url":"https://api.github.com/users/GreenAsJade/gists{/gist_id}","starred_url":"https://api.github.com/users/GreenAsJade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreenAsJade/subscriptions","organizations_url":"https://api.github.com/users/GreenAsJade/orgs","repos_url":"https://api.github.com/users/GreenAsJade/repos","events_url":"https://api.github.com/users/GreenAsJade/events{/privacy}","received_events_url":"https://api.github.com/users/GreenAsJade/received_events","type":"User","site_admin":false},"labels":[{"id":345415808,"url":"https://api.github.com/repos/apollographql/graphql-tools/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-18T03:44:01Z","updated_at":"2017-11-27T03:52:16Z","closed_at":"2017-03-21T07:08:11Z","author_association":"NONE","body":"Most of my query types need corresponding input types.\n\nThis is a lot of duplication of information to type into a schema.\n\n`makeExecutableSchema` could support generation of InputTypes automatically with trivial extension to the input syntax.\n\ninstead of \n\n```\ntype IntermediateThing {\n    id: Int!\n    Description: String!\n }\n\ntype  CompositeThing {\n   id: Int!\n   leftThing: IntermediateThing!\n   rightThing: IntermediateThing!\n   thingStatus: String!\n}\n\ninput IntermediateThingInput {\n   Description: String!\n}\n\ninput CompositeThingInput {\n   leftThing: IntermediateThingInput!\n   rightThing: IntermediateThingInput!\n}\n```\n\nWe could say  \n\n```\nentity IntermediateThing {\n   (id: Int!)\n   Description: String!\n}\n\nentity CompositeThing {\n   (id: Int!)\n   leftThing: IntermediateThing!\n   rightThing: IntermediateThing!\n   (thingStatus: String!)     //  < parens indicate this is server-side computation, not for InputType\n}\n```\n\nand makeExecutableSchema could provide both the `query` and `input` schema elements that we need.\n"},"comment":{"url":"https://api.github.com/repos/apollographql/graphql-tools/issues/comments/347072489","html_url":"https://github.com/apollographql/graphql-tools/issues/179#issuecomment-347072489","issue_url":"https://api.github.com/repos/apollographql/graphql-tools/issues/179","id":347072489,"user":{"login":"Jetmate","id":25833343,"avatar_url":"https://avatars0.githubusercontent.com/u/25833343?v=4","gravatar_id":"","url":"https://api.github.com/users/Jetmate","html_url":"https://github.com/Jetmate","followers_url":"https://api.github.com/users/Jetmate/followers","following_url":"https://api.github.com/users/Jetmate/following{/other_user}","gists_url":"https://api.github.com/users/Jetmate/gists{/gist_id}","starred_url":"https://api.github.com/users/Jetmate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jetmate/subscriptions","organizations_url":"https://api.github.com/users/Jetmate/orgs","repos_url":"https://api.github.com/users/Jetmate/repos","events_url":"https://api.github.com/users/Jetmate/events{/privacy}","received_events_url":"https://api.github.com/users/Jetmate/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T03:52:16Z","updated_at":"2017-11-27T03:52:16Z","author_association":"NONE","body":"@kbrandwijk Thanks! I'd love to see this feature implemented. "}}
{"actor":{"display_login":"Jetmate"}}