{"action":"created","issue":{"url":"https://api.github.com/repos/prisma/graphqlgen/issues/201","repository_url":"https://api.github.com/repos/prisma/graphqlgen","labels_url":"https://api.github.com/repos/prisma/graphqlgen/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/prisma/graphqlgen/issues/201/comments","events_url":"https://api.github.com/repos/prisma/graphqlgen/issues/201/events","html_url":"https://github.com/prisma/graphqlgen/issues/201","id":374363669,"node_id":"MDU6SXNzdWUzNzQzNjM2Njk=","number":201,"title":"Supporting modularized graphql schemas","user":{"login":"nomadoda","id":25898698,"node_id":"MDQ6VXNlcjI1ODk4Njk4","avatar_url":"https://avatars0.githubusercontent.com/u/25898698?v=4","gravatar_id":"","url":"https://api.github.com/users/nomadoda","html_url":"https://github.com/nomadoda","followers_url":"https://api.github.com/users/nomadoda/followers","following_url":"https://api.github.com/users/nomadoda/following{/other_user}","gists_url":"https://api.github.com/users/nomadoda/gists{/gist_id}","starred_url":"https://api.github.com/users/nomadoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomadoda/subscriptions","organizations_url":"https://api.github.com/users/nomadoda/orgs","repos_url":"https://api.github.com/users/nomadoda/repos","events_url":"https://api.github.com/users/nomadoda/events{/privacy}","received_events_url":"https://api.github.com/users/nomadoda/received_events","type":"User","site_admin":false},"labels":[{"id":1094509099,"node_id":"MDU6TGFiZWwxMDk0NTA5MDk5","url":"https://api.github.com/repos/prisma/graphqlgen/labels/area/config","name":"area/config","color":"fbca04","default":false},{"id":1025983547,"node_id":"MDU6TGFiZWwxMDI1OTgzNTQ3","url":"https://api.github.com/repos/prisma/graphqlgen/labels/discussion","name":"discussion","color":"107499","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-26T12:34:23Z","updated_at":"2018-10-28T18:35:58Z","closed_at":null,"author_association":"NONE","body":"I keep my graphql schemas and models in a modular file structure:\r\n\r\nsrc/\r\n—modules/\r\n——user/\r\n———user.graphql\r\n———user.model.ts\r\n——post/\r\n———post.graphql\r\n———post.model.ts\r\n\r\nMy graphqlgen.yml\r\n\r\n```\r\nlanguage: typescript\r\n\r\nschema: ./src/modules/**/*.graphql\r\ncontext: ./src/typings/schema.d.ts:Context\r\nmodels:\r\n  files:\r\n    - ./src/modules/**/*.model.ts\r\n\r\noutput: ./src/generated/graphqlgen.ts\r\n\r\nresolver-scaffolding:\r\n  output: ./src/generated/tmp-resolvers/\r\n  layout: file-per-type\r\n\r\n```\r\n\r\n***throws***: *'The schema file* ./src/modules/**/*.graphql *does not exist'*\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/prisma/graphqlgen/issues/comments/433730043","html_url":"https://github.com/prisma/graphqlgen/issues/201#issuecomment-433730043","issue_url":"https://api.github.com/repos/prisma/graphqlgen/issues/201","id":433730043,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzczMDA0Mw==","user":{"login":"nomadoda","id":25898698,"node_id":"MDQ6VXNlcjI1ODk4Njk4","avatar_url":"https://avatars0.githubusercontent.com/u/25898698?v=4","gravatar_id":"","url":"https://api.github.com/users/nomadoda","html_url":"https://github.com/nomadoda","followers_url":"https://api.github.com/users/nomadoda/followers","following_url":"https://api.github.com/users/nomadoda/following{/other_user}","gists_url":"https://api.github.com/users/nomadoda/gists{/gist_id}","starred_url":"https://api.github.com/users/nomadoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomadoda/subscriptions","organizations_url":"https://api.github.com/users/nomadoda/orgs","repos_url":"https://api.github.com/users/nomadoda/repos","events_url":"https://api.github.com/users/nomadoda/events{/privacy}","received_events_url":"https://api.github.com/users/nomadoda/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T18:35:58Z","updated_at":"2018-10-28T18:35:58Z","author_association":"NONE","body":"I guess this would be a valid example repo: https://github.com/benawad/graphql-ts-server-boilerplate"}}
{"actor":{"display_login":"nomadoda"}}