{"action":"created","issue":{"url":"https://api.github.com/repos/nestjs/graphql/issues/64","repository_url":"https://api.github.com/repos/nestjs/graphql","labels_url":"https://api.github.com/repos/nestjs/graphql/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/graphql/issues/64/comments","events_url":"https://api.github.com/repos/nestjs/graphql/issues/64/events","html_url":"https://github.com/nestjs/graphql/issues/64","id":358608896,"node_id":"MDU6SXNzdWUzNTg2MDg4OTY=","number":64,"title":"Type \"Date\" was defined more than once.","user":{"login":"quen2404","id":5547492,"node_id":"MDQ6VXNlcjU1NDc0OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5547492?v=4","gravatar_id":"","url":"https://api.github.com/users/quen2404","html_url":"https://github.com/quen2404","followers_url":"https://api.github.com/users/quen2404/followers","following_url":"https://api.github.com/users/quen2404/following{/other_user}","gists_url":"https://api.github.com/users/quen2404/gists{/gist_id}","starred_url":"https://api.github.com/users/quen2404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quen2404/subscriptions","organizations_url":"https://api.github.com/users/quen2404/orgs","repos_url":"https://api.github.com/users/quen2404/repos","events_url":"https://api.github.com/users/quen2404/events{/privacy}","received_events_url":"https://api.github.com/users/quen2404/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-10T12:52:25Z","updated_at":"2018-09-10T15:56:49Z","closed_at":"2018-09-10T15:37:10Z","author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- \r\nPlease search GitHub for a similar issue or PR before submitting.\r\nCheck one of the following options with \"x\" -->\r\n<pre><code>\r\n[x] Regression <!--(a behavior that used to work and stopped working in a new release)-->\r\n[ ] Bug report\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nI defined a scalar of type Date in my graphql schema.\r\n```graphql\r\nscalar Date\r\n#...\r\n```\r\nBut i have this error message at startup.\r\n```\r\n(node:8372) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Type \"Date\" was defined more than once.\r\n```\r\nIf i try to remove my scalar declaration, my nestjs application starts but gives me this message in the console:\r\n```\r\nType \"ICat\" is missing a \"resolveType\" resolver. Pass false into \"resolverValidationOptions.requireResolversForResolveType\" to disable this warning.\r\nType \"Character\" is missing a \"resolveType\" resolver. Pass false into \"resolverValidationOptions.requireResolversForResolveType\" to disable this warning.\r\nType \"SearchResult\" is missing a \"resolveType\" resolver. Pass false into \"resolverValidationOptions.requireResolversForResolveType\" to disable this warning.\r\n```\r\nThis is weird because i have none of theses types defined in my schema. \r\nIt looks like an example schema.\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nI have this behavior since i upgrade `@nestjs/graphl` from version `5.2.0` to `5.2.1`.\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nNest graphql: 5.2.1\r\n<!-- Check whether this is still an issue in the most recent Nest version -->\r\n \r\nFor Tooling issues:\r\n- Node version: 8.9.1  <!-- run `node --version` -->\r\n- Platform: Windows\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nestjs/graphql/issues/comments/419964902","html_url":"https://github.com/nestjs/graphql/issues/64#issuecomment-419964902","issue_url":"https://api.github.com/repos/nestjs/graphql/issues/64","id":419964902,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTk2NDkwMg==","user":{"login":"quen2404","id":5547492,"node_id":"MDQ6VXNlcjU1NDc0OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5547492?v=4","gravatar_id":"","url":"https://api.github.com/users/quen2404","html_url":"https://github.com/quen2404","followers_url":"https://api.github.com/users/quen2404/followers","following_url":"https://api.github.com/users/quen2404/following{/other_user}","gists_url":"https://api.github.com/users/quen2404/gists{/gist_id}","starred_url":"https://api.github.com/users/quen2404/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quen2404/subscriptions","organizations_url":"https://api.github.com/users/quen2404/orgs","repos_url":"https://api.github.com/users/quen2404/repos","events_url":"https://api.github.com/users/quen2404/events{/privacy}","received_events_url":"https://api.github.com/users/quen2404/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T15:56:49Z","updated_at":"2018-09-10T15:56:49Z","author_association":"NONE","body":"Ahaha no problem @kamilmysliwiec ! \r\nThank you for your reactivity and for this amazing project 💯 "}}
{"actor":{"display_login":"quen2404"}}