{"action":"created","issue":{"url":"https://api.github.com/repos/nestjs/nest/issues/1272","repository_url":"https://api.github.com/repos/nestjs/nest","labels_url":"https://api.github.com/repos/nestjs/nest/issues/1272/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/nest/issues/1272/comments","events_url":"https://api.github.com/repos/nestjs/nest/issues/1272/events","html_url":"https://github.com/nestjs/nest/issues/1272","id":379035338,"node_id":"MDU6SXNzdWUzNzkwMzUzMzg=","number":1272,"title":"need some document about how to partially expose prisma document.","user":{"login":"ShaneXie","id":3348648,"node_id":"MDQ6VXNlcjMzNDg2NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/3348648?v=4","gravatar_id":"","url":"https://api.github.com/users/ShaneXie","html_url":"https://github.com/ShaneXie","followers_url":"https://api.github.com/users/ShaneXie/followers","following_url":"https://api.github.com/users/ShaneXie/following{/other_user}","gists_url":"https://api.github.com/users/ShaneXie/gists{/gist_id}","starred_url":"https://api.github.com/users/ShaneXie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShaneXie/subscriptions","organizations_url":"https://api.github.com/users/ShaneXie/orgs","repos_url":"https://api.github.com/users/ShaneXie/repos","events_url":"https://api.github.com/users/ShaneXie/events{/privacy}","received_events_url":"https://api.github.com/users/ShaneXie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-09T06:07:58Z","updated_at":"2018-11-10T14:14:16Z","closed_at":null,"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[ ] Regression <!--(a behavior that used to work and stopped working in a new release)-->\r\n[ ] Bug report\r\n[ ] Feature request\r\n[x] 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\nmissing instruction about how partially expose prisma graphql schema\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nadd related document\r\n\r\n## Minimal reproduction of the problem with instructions\r\n<!-- Please share a repo, a gist, or step-by-step instructions. -->\r\nI created a question on stackoverflow but no one answer it:\r\nhttps://stackoverflow.com/questions/53183205/how-to-only-expose-part-of-prima-generated-schema-in-nestjs\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n<!-- Describe the motivation or the concrete use case. -->\r\nAs suggestion in prisma document, we should never expose all schema to public, that's insecure and unnecessary.\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nNest version: 5.4.0\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.11  <!-- run `node --version` -->\r\n- Platform:  mac<!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n<!-- Anything else relevant?  Operating system version, IDE, package manager, ... -->\r\n</code></pre>\r\n"},"comment":{"url":"https://api.github.com/repos/nestjs/nest/issues/comments/437586757","html_url":"https://github.com/nestjs/nest/issues/1272#issuecomment-437586757","issue_url":"https://api.github.com/repos/nestjs/nest/issues/1272","id":437586757,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU4Njc1Nw==","user":{"login":"marcus-sa","id":8391194,"node_id":"MDQ6VXNlcjgzOTExOTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8391194?v=4","gravatar_id":"","url":"https://api.github.com/users/marcus-sa","html_url":"https://github.com/marcus-sa","followers_url":"https://api.github.com/users/marcus-sa/followers","following_url":"https://api.github.com/users/marcus-sa/following{/other_user}","gists_url":"https://api.github.com/users/marcus-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/marcus-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcus-sa/subscriptions","organizations_url":"https://api.github.com/users/marcus-sa/orgs","repos_url":"https://api.github.com/users/marcus-sa/repos","events_url":"https://api.github.com/users/marcus-sa/events{/privacy}","received_events_url":"https://api.github.com/users/marcus-sa/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T14:14:16Z","updated_at":"2018-11-10T14:14:16Z","author_association":"NONE","body":"I'd suggest splitting up your schemas, and importing the parts necessary"}}
{"actor":{"display_login":"marcus-sa"}}