{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/126","repository_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose","labels_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/126/comments","events_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/126/events","html_url":"https://github.com/graphql-compose/graphql-compose-mongoose/pull/126","id":361337185,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MzMyMTEz","number":126,"title":"feat(TypeScript): add typings for `DiscriminatorTypeComposer`","user":{"login":"mernxl","id":16241595,"node_id":"MDQ6VXNlcjE2MjQxNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/16241595?v=4","gravatar_id":"","url":"https://api.github.com/users/mernxl","html_url":"https://github.com/mernxl","followers_url":"https://api.github.com/users/mernxl/followers","following_url":"https://api.github.com/users/mernxl/following{/other_user}","gists_url":"https://api.github.com/users/mernxl/gists{/gist_id}","starred_url":"https://api.github.com/users/mernxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mernxl/subscriptions","organizations_url":"https://api.github.com/users/mernxl/orgs","repos_url":"https://api.github.com/users/mernxl/repos","events_url":"https://api.github.com/users/mernxl/events{/privacy}","received_events_url":"https://api.github.com/users/mernxl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-18T14:37:12Z","updated_at":"2018-09-21T04:13:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/pulls/126","html_url":"https://github.com/graphql-compose/graphql-compose-mongoose/pull/126","diff_url":"https://github.com/graphql-compose/graphql-compose-mongoose/pull/126.diff","patch_url":"https://github.com/graphql-compose/graphql-compose-mongoose/pull/126.patch"},"body":"As the DiscriminatorTypeComposer extends TypeComper, we needed to configure type updated type definitions by updating the `graphql-compose` package. \r\n\r\nNote: Issues may arise for TypeScript Users if they update one without matching with the other.\r\nA TypeScript User with this a package that has this changes, will need to update `graphql-compose` to atleast **v5.2.0**\r\n\r\n* feat(TypeScript): add `TArgs` and `TArgsMap` to `DiscriminatorTypeComposer`\r\n\r\n* chore: update `graphql-compose` to v5.2.0 as it contains `TArgs`, `TArgsMap` changes\r\n\r\n* feat(TypeScript): add typings for `DiscriminatorTypeComposer`\r\n\r\n* fix(TypeScript): adjust composeMongoose types to support new TypeComposer typings\r\n\r\n* chore: update `graphql-compose` to v5.1.1\r\nthis is to get all the latest changes that were made with TypeComposer\r\n\r\n* chore: add tslint prettier rules plugins, apply styles to all `.ts` files\r\n\r\n* add `tslint-config-prettier` and `tslint-plugin-prettier` packages"},"comment":{"url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/comments/423407952","html_url":"https://github.com/graphql-compose/graphql-compose-mongoose/pull/126#issuecomment-423407952","issue_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/126","id":423407952,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQwNzk1Mg==","user":{"login":"mernxl","id":16241595,"node_id":"MDQ6VXNlcjE2MjQxNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/16241595?v=4","gravatar_id":"","url":"https://api.github.com/users/mernxl","html_url":"https://github.com/mernxl","followers_url":"https://api.github.com/users/mernxl/followers","following_url":"https://api.github.com/users/mernxl/following{/other_user}","gists_url":"https://api.github.com/users/mernxl/gists{/gist_id}","starred_url":"https://api.github.com/users/mernxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mernxl/subscriptions","organizations_url":"https://api.github.com/users/mernxl/orgs","repos_url":"https://api.github.com/users/mernxl/repos","events_url":"https://api.github.com/users/mernxl/events{/privacy}","received_events_url":"https://api.github.com/users/mernxl/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T04:13:25Z","updated_at":"2018-09-21T04:13:25Z","author_association":"CONTRIBUTOR","body":"Hahaha, typescript is great, like a Swiss army knife for typings. "}}
{"actor":{"display_login":"mernxl"}}