{"action":"created","issue":{"url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/51","repository_url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin","labels_url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/51/comments","events_url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/51/events","html_url":"https://github.com/sid88in/serverless-appsync-plugin/pull/51","id":298045546,"number":51,"title":"add api key functionality","user":{"login":"sid88in","id":1587005,"avatar_url":"https://avatars2.githubusercontent.com/u/1587005?v=4","gravatar_id":"","url":"https://api.github.com/users/sid88in","html_url":"https://github.com/sid88in","followers_url":"https://api.github.com/users/sid88in/followers","following_url":"https://api.github.com/users/sid88in/following{/other_user}","gists_url":"https://api.github.com/users/sid88in/gists{/gist_id}","starred_url":"https://api.github.com/users/sid88in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid88in/subscriptions","organizations_url":"https://api.github.com/users/sid88in/orgs","repos_url":"https://api.github.com/users/sid88in/repos","events_url":"https://api.github.com/users/sid88in/events{/privacy}","received_events_url":"https://api.github.com/users/sid88in/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-17T23:34:36Z","updated_at":"2018-02-18T00:53:49Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/pulls/51","html_url":"https://github.com/sid88in/serverless-appsync-plugin/pull/51","diff_url":"https://github.com/sid88in/serverless-appsync-plugin/pull/51.diff","patch_url":"https://github.com/sid88in/serverless-appsync-plugin/pull/51.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/comments/366483620","html_url":"https://github.com/sid88in/serverless-appsync-plugin/pull/51#issuecomment-366483620","issue_url":"https://api.github.com/repos/sid88in/serverless-appsync-plugin/issues/51","id":366483620,"user":{"login":"sid88in","id":1587005,"avatar_url":"https://avatars2.githubusercontent.com/u/1587005?v=4","gravatar_id":"","url":"https://api.github.com/users/sid88in","html_url":"https://github.com/sid88in","followers_url":"https://api.github.com/users/sid88in/followers","following_url":"https://api.github.com/users/sid88in/following{/other_user}","gists_url":"https://api.github.com/users/sid88in/gists{/gist_id}","starred_url":"https://api.github.com/users/sid88in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sid88in/subscriptions","organizations_url":"https://api.github.com/users/sid88in/orgs","repos_url":"https://api.github.com/users/sid88in/repos","events_url":"https://api.github.com/users/sid88in/events{/privacy}","received_events_url":"https://api.github.com/users/sid88in/received_events","type":"User","site_admin":false},"created_at":"2018-02-18T00:53:49Z","updated_at":"2018-02-18T00:53:49Z","author_association":"OWNER","body":"@lolcoolkat lets discuss this design - few options:\r\n\r\n1. create the API key in createGraphQLEndpoint itself if authenticationType == API_KEY. In this case it probably will have to be done after promise is resolved because we would need api id\r\n\r\n2. keep creation out the api key outside createGraphQLEndpoint and make it one of the steps and bind it in the hook (one issue here is that we would not want to create api key in case authenticationType != API_KEY. \r\n\r\nAny thoughts?"}}
{"actor":{"display_login":"sid88in"}}