{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/105","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/105/labels{/name}","comments_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/105/comments","events_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/105/events","html_url":"https://github.com/graphql-compose/graphql-compose-mongoose/issues/105","id":335077252,"node_id":"MDU6SXNzdWUzMzUwNzcyNTI=","number":105,"title":"Adding Directives to Schemas","user":{"login":"MDrooker","id":6624513,"node_id":"MDQ6VXNlcjY2MjQ1MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/6624513?v=4","gravatar_id":"","url":"https://api.github.com/users/MDrooker","html_url":"https://github.com/MDrooker","followers_url":"https://api.github.com/users/MDrooker/followers","following_url":"https://api.github.com/users/MDrooker/following{/other_user}","gists_url":"https://api.github.com/users/MDrooker/gists{/gist_id}","starred_url":"https://api.github.com/users/MDrooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MDrooker/subscriptions","organizations_url":"https://api.github.com/users/MDrooker/orgs","repos_url":"https://api.github.com/users/MDrooker/repos","events_url":"https://api.github.com/users/MDrooker/events{/privacy}","received_events_url":"https://api.github.com/users/MDrooker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-23T07:26:27Z","updated_at":"2018-06-29T09:19:35Z","closed_at":null,"author_association":"NONE","body":"Hey All-\r\nWe are looking to use the new ApolloServer 2.0 features around CDN integration for some of our services-\r\n\r\n[https://www.apollographql.com/docs/apollo-server/v2/features/cdn.html](https://www.apollographql.com/docs/apollo-server/v2/features/cdn.html)\r\n\r\nAny suggestions around how to get the directives added to some of the types output by graphql-compose-mongoose?\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/comments/401299234","html_url":"https://github.com/graphql-compose/graphql-compose-mongoose/issues/105#issuecomment-401299234","issue_url":"https://api.github.com/repos/graphql-compose/graphql-compose-mongoose/issues/105","id":401299234,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTI5OTIzNA==","user":{"login":"nodkz","id":1946920,"node_id":"MDQ6VXNlcjE5NDY5MjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1946920?v=4","gravatar_id":"","url":"https://api.github.com/users/nodkz","html_url":"https://github.com/nodkz","followers_url":"https://api.github.com/users/nodkz/followers","following_url":"https://api.github.com/users/nodkz/following{/other_user}","gists_url":"https://api.github.com/users/nodkz/gists{/gist_id}","starred_url":"https://api.github.com/users/nodkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodkz/subscriptions","organizations_url":"https://api.github.com/users/nodkz/orgs","repos_url":"https://api.github.com/users/nodkz/repos","events_url":"https://api.github.com/users/nodkz/events{/privacy}","received_events_url":"https://api.github.com/users/nodkz/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T09:19:35Z","updated_at":"2018-06-29T09:19:35Z","author_association":"MEMBER","body":"Adding directives via `GraphQL*Type` classes was rejected by Lee Byron https://github.com/graphql/graphql-js/issues/1262\r\n\r\nIt will be good if you write about your needs and use cases in the 1262 issue. Right now there is no way to add directives via `GraphQL*Type` classes in `graphql-js`. That's why `graphql-compose` which works on top of its classes does not allow to provide directives for fields when you define types."}}
{"actor":{"display_login":"nodkz"}}