{"action":"created","issue":{"url":"https://api.github.com/repos/gramps-graphql/gramps/issues/26","repository_url":"https://api.github.com/repos/gramps-graphql/gramps","labels_url":"https://api.github.com/repos/gramps-graphql/gramps/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/gramps-graphql/gramps/issues/26/comments","events_url":"https://api.github.com/repos/gramps-graphql/gramps/issues/26/events","html_url":"https://github.com/gramps-graphql/gramps/issues/26","id":275515905,"number":26,"title":"[1.0] Make data sources fully self-contained on export","user":{"login":"jlengstorf","id":163561,"avatar_url":"https://avatars2.githubusercontent.com/u/163561?v=4","gravatar_id":"","url":"https://api.github.com/users/jlengstorf","html_url":"https://github.com/jlengstorf","followers_url":"https://api.github.com/users/jlengstorf/followers","following_url":"https://api.github.com/users/jlengstorf/following{/other_user}","gists_url":"https://api.github.com/users/jlengstorf/gists{/gist_id}","starred_url":"https://api.github.com/users/jlengstorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlengstorf/subscriptions","organizations_url":"https://api.github.com/users/jlengstorf/orgs","repos_url":"https://api.github.com/users/jlengstorf/repos","events_url":"https://api.github.com/users/jlengstorf/events{/privacy}","received_events_url":"https://api.github.com/users/jlengstorf/received_events","type":"User","site_admin":false},"labels":[{"id":757260498,"url":"https://api.github.com/repos/gramps-graphql/gramps/labels/release-1.0","name":"release-1.0","color":"1078b5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2017-11-20T22:08:41Z","updated_at":"2017-12-19T05:10:32Z","closed_at":null,"author_association":"OWNER","body":"@jlengstorf commented on [Mon Nov 20 2017](https://github.com/gramps-graphql/gramps-cli/issues/7)\n\nAfter a discussion today with @schickling, @kbrandwijk, and @nikolasburk about how GrAMPS data sources will fit with external tools (such as [Graphcool](http://www.graph.cool/) and [qewl](https://github.com/qewl/qewl)), a couple things came up:\r\n\r\n1.  GrAMPS data sources _should_ be exporting an executable schema, and not the typeDefs/resolvers/mocks as I was previously pushing for\r\n2.  GrAMPS data sources _should not_ require the context to be attached externally (meaning there should be no intermediate step to attach a data source context to its resolvers)\r\n\r\n(@ecwyne and @corycook, you're going to say, \"I told you so.\") 😄 \r\n\r\n\n\n"},"comment":{"url":"https://api.github.com/repos/gramps-graphql/gramps/issues/comments/352641566","html_url":"https://github.com/gramps-graphql/gramps/issues/26#issuecomment-352641566","issue_url":"https://api.github.com/repos/gramps-graphql/gramps/issues/26","id":352641566,"user":{"login":"jlengstorf","id":163561,"avatar_url":"https://avatars2.githubusercontent.com/u/163561?v=4","gravatar_id":"","url":"https://api.github.com/users/jlengstorf","html_url":"https://github.com/jlengstorf","followers_url":"https://api.github.com/users/jlengstorf/followers","following_url":"https://api.github.com/users/jlengstorf/following{/other_user}","gists_url":"https://api.github.com/users/jlengstorf/gists{/gist_id}","starred_url":"https://api.github.com/users/jlengstorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlengstorf/subscriptions","organizations_url":"https://api.github.com/users/jlengstorf/orgs","repos_url":"https://api.github.com/users/jlengstorf/repos","events_url":"https://api.github.com/users/jlengstorf/events{/privacy}","received_events_url":"https://api.github.com/users/jlengstorf/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T05:10:31Z","updated_at":"2017-12-19T05:10:31Z","author_association":"OWNER","body":"@mfix22 The Graphcool team just released a pretty interesting article on exposing subsets of underlying GraphQL schemas. There's a video that shows an approach to controlling data access. Check it out: https://blog.graph.cool/graphql-databases-a-preview-into-the-future-of-graphcool-c1d4981383d9\r\n\r\nMaybe we can pull in some Apollo folks to weigh in? @stubailo, @peggyrayzis, or @jbaxleyiii — any thoughts on best practices for managing remote schemas as laid out in @kbrandwijk and @mfix22's comments above? (Also, 👋.)"}}
{"actor":{"display_login":"jlengstorf"}}