{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/616","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/616/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/616/events","html_url":"https://github.com/openwhisk/openwhisk/issues/616","id":159651968,"number":616,"title":"Discussion: whisk object vs. context parameter in javascript actions","user":{"login":"sjfink","id":1533170,"avatar_url":"https://avatars.githubusercontent.com/u/1533170?v=3","gravatar_id":"","url":"https://api.github.com/users/sjfink","html_url":"https://github.com/sjfink","followers_url":"https://api.github.com/users/sjfink/followers","following_url":"https://api.github.com/users/sjfink/following{/other_user}","gists_url":"https://api.github.com/users/sjfink/gists{/gist_id}","starred_url":"https://api.github.com/users/sjfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjfink/subscriptions","organizations_url":"https://api.github.com/users/sjfink/orgs","repos_url":"https://api.github.com/users/sjfink/repos","events_url":"https://api.github.com/users/sjfink/events{/privacy}","received_events_url":"https://api.github.com/users/sjfink/received_events","type":"User","site_admin":false},"labels":[{"id":331366971,"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/programming%20model","name":"programming model","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false},"assignees":[{"login":"rabbah","id":4959922,"avatar_url":"https://avatars.githubusercontent.com/u/4959922?v=3","gravatar_id":"","url":"https://api.github.com/users/rabbah","html_url":"https://github.com/rabbah","followers_url":"https://api.github.com/users/rabbah/followers","following_url":"https://api.github.com/users/rabbah/following{/other_user}","gists_url":"https://api.github.com/users/rabbah/gists{/gist_id}","starred_url":"https://api.github.com/users/rabbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabbah/subscriptions","organizations_url":"https://api.github.com/users/rabbah/orgs","repos_url":"https://api.github.com/users/rabbah/repos","events_url":"https://api.github.com/users/rabbah/events{/privacy}","received_events_url":"https://api.github.com/users/rabbah/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2016-06-10T14:48:11Z","updated_at":"2016-11-21T07:13:24Z","closed_at":null,"body":"@domdom82, @csantanapr  and @tuler have observed that our current javascript programming model's 'whisk' object probably makes local debugging of javascript actions more difficult than it need be.\n\nTo review, the 'whisk' object currently serves two purposes:\n1.  It holds environment bindings such as \"auth key\" and \"action name\"\n2.  It encapsulates some functions such as whisk.done(), whisk.async(), and whisk.invoke()\n\nFor local testing, I think it's probably accurate that it's easier to pass an object to a function than arrange for a global 'whisk' object to be in scope.\n\nLet's discuss possible changes to the programming model here.\n\nSome observations:\n1) There are some possible solutions that use the openwhisk npm module.  \n2)  whisk.done(), async(), etc. are due to be deprecated with Node 6 shortly.\n"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/261860852","html_url":"https://github.com/openwhisk/openwhisk/issues/616#issuecomment-261860852","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/616","id":261860852,"user":{"login":"markusthoemmes","id":1289147,"avatar_url":"https://avatars.githubusercontent.com/u/1289147?v=3","gravatar_id":"","url":"https://api.github.com/users/markusthoemmes","html_url":"https://github.com/markusthoemmes","followers_url":"https://api.github.com/users/markusthoemmes/followers","following_url":"https://api.github.com/users/markusthoemmes/following{/other_user}","gists_url":"https://api.github.com/users/markusthoemmes/gists{/gist_id}","starred_url":"https://api.github.com/users/markusthoemmes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusthoemmes/subscriptions","organizations_url":"https://api.github.com/users/markusthoemmes/orgs","repos_url":"https://api.github.com/users/markusthoemmes/repos","events_url":"https://api.github.com/users/markusthoemmes/events{/privacy}","received_events_url":"https://api.github.com/users/markusthoemmes/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T07:13:23Z","updated_at":"2016-11-21T07:13:23Z","body":"@mbehrendt Which values do you have in mind?"}}
{"actor":{"display_login":"markusthoemmes"}}