{"action":"opened","issue":{"url":"https://api.github.com/repos/driftyco/ionic-storage/issues/96","repository_url":"https://api.github.com/repos/driftyco/ionic-storage","labels_url":"https://api.github.com/repos/driftyco/ionic-storage/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-storage/issues/96/comments","events_url":"https://api.github.com/repos/driftyco/ionic-storage/issues/96/events","html_url":"https://github.com/driftyco/ionic-storage/issues/96","id":220803745,"number":96,"title":"why is call to `ready()` necessary?","user":{"login":"goleary","id":16123225,"avatar_url":"https://avatars2.githubusercontent.com/u/16123225?v=3","gravatar_id":"","url":"https://api.github.com/users/goleary","html_url":"https://github.com/goleary","followers_url":"https://api.github.com/users/goleary/followers","following_url":"https://api.github.com/users/goleary/following{/other_user}","gists_url":"https://api.github.com/users/goleary/gists{/gist_id}","starred_url":"https://api.github.com/users/goleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goleary/subscriptions","organizations_url":"https://api.github.com/users/goleary/orgs","repos_url":"https://api.github.com/users/goleary/repos","events_url":"https://api.github.com/users/goleary/events{/privacy}","received_events_url":"https://api.github.com/users/goleary/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-11T00:05:06Z","updated_at":"2017-04-11T00:05:06Z","closed_at":null,"body":"It seems like this should be an internal only function that `get()`, `set()` etc. should be calling before returning.\r\n\r\nIn some of my components I  am writing functions like:\r\n\r\n    getFromStorage(key: string){\r\n      return this.storage.ready().then(()=>this.storage.get(key));\r\n    }\r\n\r\nThis seems like the kind of thing that it doesn't make sense for users (of ionic-storage) to have to do."}}
{"actor":{"display_login":"goleary"}}