{"action":"opened","issue":{"url":"https://api.github.com/repos/Netflix/falcor/issues/628","labels_url":"https://api.github.com/repos/Netflix/falcor/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/falcor/issues/628/comments","events_url":"https://api.github.com/repos/Netflix/falcor/issues/628/events","html_url":"https://github.com/Netflix/falcor/issues/628","id":118529939,"number":628,"title":"null response after get/call","user":{"login":"chrisvariety","id":44855,"avatar_url":"https://avatars.githubusercontent.com/u/44855?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisvariety","html_url":"https://github.com/chrisvariety","followers_url":"https://api.github.com/users/chrisvariety/followers","following_url":"https://api.github.com/users/chrisvariety/following{/other_user}","gists_url":"https://api.github.com/users/chrisvariety/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvariety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvariety/subscriptions","organizations_url":"https://api.github.com/users/chrisvariety/orgs","repos_url":"https://api.github.com/users/chrisvariety/repos","events_url":"https://api.github.com/users/chrisvariety/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvariety/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T04:35:24Z","updated_at":"2015-11-24T04:35:24Z","closed_at":null,"body":"A server response that is nothing but empty atoms returns `null` on the promise payload. Is this expected?\r\n\r\nAn example:\r\n\r\n```js\r\nmodel.get(['studies', {from: 0, to: 1}, ['name', 'id']]).then(function (payload) {\r\n  // payload is null if server returns nothing but empty atoms\r\n});\r\n```\r\n[server response is empty atoms](https://gist.github.com/chrisvariety/0817aa8e001972aefbd3)\r\n\r\nI would hope `payload` would look something like:\r\n\r\n```\r\n{\r\n  json: {\r\n    studies: { 0: null, 1: null } // or something similar, like `studies: {}`\r\n  }\r\n}\r\n```\r\n\r\n... but instead it's just null. Is this expected behavior? It makes it difficult to re-use payload handling code with different queries.\r\n\r\nps. Falcor is awesome, thanks for all your hard work :sparkles: "}}