{"action":"opened","issue":{"url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/87","repository_url":"https://api.github.com/repos/ajagnanan1/resto-1","labels_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/87/comments","events_url":"https://api.github.com/repos/ajagnanan1/resto-1/issues/87/events","html_url":"https://github.com/ajagnanan1/resto-1/issues/87","id":299230193,"number":87,"title":"GraphQLUnionType as input type","user":{"login":"ajagnanan1","id":17330249,"avatar_url":"https://avatars0.githubusercontent.com/u/17330249?v=4","gravatar_id":"","url":"https://api.github.com/users/ajagnanan1","html_url":"https://github.com/ajagnanan1","followers_url":"https://api.github.com/users/ajagnanan1/followers","following_url":"https://api.github.com/users/ajagnanan1/following{/other_user}","gists_url":"https://api.github.com/users/ajagnanan1/gists{/gist_id}","starred_url":"https://api.github.com/users/ajagnanan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajagnanan1/subscriptions","organizations_url":"https://api.github.com/users/ajagnanan1/orgs","repos_url":"https://api.github.com/users/ajagnanan1/repos","events_url":"https://api.github.com/users/ajagnanan1/events{/privacy}","received_events_url":"https://api.github.com/users/ajagnanan1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T05:50:03Z","updated_at":"2018-02-22T05:50:03Z","closed_at":null,"author_association":"OWNER","body":"#207 Issue by __xpepermint__\n\nI would need `GraphQLUnionType` to work also as an input type. I need to pass a list of different conditions to the server.\n\nExample (start processing products where (A or B and C) - order is important):\n\n``` js\nmutation RootMutation {\n   startProcessing({\n      kind: \"product\",\n      filter: [\n         {kind: \"A\",  period: \"1 min\"}, // type1\n         {operand: \"or\", kind: \"B\",  tag: \"smart\"}, // type2\n         {operand: \"and\", kind: \"C\",  tag: \"small\"} // type2\n      ]\n   }){kind}\n}\n```\n"}}
{"actor":{"display_login":"ajagnanan1"}}