{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/react-refetch/issues/93","repository_url":"https://api.github.com/repos/heroku/react-refetch","labels_url":"https://api.github.com/repos/heroku/react-refetch/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/heroku/react-refetch/issues/93/comments","events_url":"https://api.github.com/repos/heroku/react-refetch/issues/93/events","html_url":"https://github.com/heroku/react-refetch/pull/93","id":144172925,"number":93,"title":"Identity Request Promises","user":{"login":"ryanbrainard","id":966764,"avatar_url":"https://avatars.githubusercontent.com/u/966764?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanbrainard","html_url":"https://github.com/ryanbrainard","followers_url":"https://api.github.com/users/ryanbrainard/followers","following_url":"https://api.github.com/users/ryanbrainard/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrainard/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrainard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrainard/subscriptions","organizations_url":"https://api.github.com/users/ryanbrainard/orgs","repos_url":"https://api.github.com/users/ryanbrainard/repos","events_url":"https://api.github.com/users/ryanbrainard/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrainard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/heroku/react-refetch/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/heroku/react-refetch/labels/WIP/DO%20NOT%20MERGE","name":"WIP/DO NOT MERGE","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-29T06:43:27Z","updated_at":"2016-05-30T23:49:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/heroku/react-refetch/pulls/93","html_url":"https://github.com/heroku/react-refetch/pull/93","diff_url":"https://github.com/heroku/react-refetch/pull/93.diff","patch_url":"https://github.com/heroku/react-refetch/pull/93.patch"},"body":"If `value` is given a `Promise`, the `PromiseState` will be pending until the `value` or `reason` is settled; otherwise, the `PromiseState` will be resolved immediately.\r\n\r\nThis was suggested in #92 as a possible solution to @nfcampos desire to load files like fetches. It should also be compatible the expectation @neezer had in #63 that static data loads immediately. I think this is a win-win. Thoughts?\r\n\r\nNote, I played a little bit w/ trying to unify fetch requests and identity requests and cut down on the nested conditionals, but the `meta` handling was getting in the way. If someone with more `Promise`-foo wants to take a stab at it, feel free :) Either way, I think the way it is now reads better, even though it is a bit verbose."},"comment":{"url":"https://api.github.com/repos/heroku/react-refetch/issues/comments/222566749","html_url":"https://github.com/heroku/react-refetch/pull/93#issuecomment-222566749","issue_url":"https://api.github.com/repos/heroku/react-refetch/issues/93","id":222566749,"user":{"login":"ryanbrainard","id":966764,"avatar_url":"https://avatars.githubusercontent.com/u/966764?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanbrainard","html_url":"https://github.com/ryanbrainard","followers_url":"https://api.github.com/users/ryanbrainard/followers","following_url":"https://api.github.com/users/ryanbrainard/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrainard/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrainard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrainard/subscriptions","organizations_url":"https://api.github.com/users/ryanbrainard/orgs","repos_url":"https://api.github.com/users/ryanbrainard/repos","events_url":"https://api.github.com/users/ryanbrainard/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrainard/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T23:49:46Z","updated_at":"2016-05-30T23:49:46Z","body":"Yeah, I think that makes sense, is simpler, and more consistent. Pulling this in."}}
{"actor":{"display_login":"ryanbrainard"}}