{"action":"created","issue":{"url":"https://api.github.com/repos/apendua/very-simple-schema/issues/6","repository_url":"https://api.github.com/repos/apendua/very-simple-schema","labels_url":"https://api.github.com/repos/apendua/very-simple-schema/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/apendua/very-simple-schema/issues/6/comments","events_url":"https://api.github.com/repos/apendua/very-simple-schema/issues/6/events","html_url":"https://github.com/apendua/very-simple-schema/issues/6","id":244910168,"node_id":"MDU6SXNzdWUyNDQ5MTAxNjg=","number":6,"title":"Add Schema.polymorphic","user":{"login":"apendua","id":1971195,"node_id":"MDQ6VXNlcjE5NzExOTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1971195?v=4","gravatar_id":"","url":"https://api.github.com/users/apendua","html_url":"https://github.com/apendua","followers_url":"https://api.github.com/users/apendua/followers","following_url":"https://api.github.com/users/apendua/following{/other_user}","gists_url":"https://api.github.com/users/apendua/gists{/gist_id}","starred_url":"https://api.github.com/users/apendua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apendua/subscriptions","organizations_url":"https://api.github.com/users/apendua/orgs","repos_url":"https://api.github.com/users/apendua/repos","events_url":"https://api.github.com/users/apendua/events{/privacy}","received_events_url":"https://api.github.com/users/apendua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-23T13:28:10Z","updated_at":"2018-06-29T13:21:32Z","closed_at":null,"author_association":"OWNER","body":"Example\r\n```javascript\r\nconst Polymorphic = Schema.polymorphic('type', [{\r\n  type: 'type1',\r\n  schema: schemaDef1,\r\n}, {\r\n  type: 'type2',\r\n  schema: schemaDef2,\r\n}]);\r\n```"},"comment":{"url":"https://api.github.com/repos/apendua/very-simple-schema/issues/comments/401352304","html_url":"https://github.com/apendua/very-simple-schema/issues/6#issuecomment-401352304","issue_url":"https://api.github.com/repos/apendua/very-simple-schema/issues/6","id":401352304,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM1MjMwNA==","user":{"login":"apendua","id":1971195,"node_id":"MDQ6VXNlcjE5NzExOTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1971195?v=4","gravatar_id":"","url":"https://api.github.com/users/apendua","html_url":"https://github.com/apendua","followers_url":"https://api.github.com/users/apendua/followers","following_url":"https://api.github.com/users/apendua/following{/other_user}","gists_url":"https://api.github.com/users/apendua/gists{/gist_id}","starred_url":"https://api.github.com/users/apendua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apendua/subscriptions","organizations_url":"https://api.github.com/users/apendua/orgs","repos_url":"https://api.github.com/users/apendua/repos","events_url":"https://api.github.com/users/apendua/events{/privacy}","received_events_url":"https://api.github.com/users/apendua/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T13:21:32Z","updated_at":"2018-06-29T13:21:32Z","author_association":"OWNER","body":"Note, in Flow this is called \"disjoint union\":\r\n\r\nhttps://flow.org/en/docs/types/unions/#toc-disjoint-unions"}}
{"actor":{"display_login":"apendua"}}