{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/Azure/Azurite/pulls/31","id":193571292,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTcxMjky","html_url":"https://github.com/Azure/Azurite/pull/31","diff_url":"https://github.com/Azure/Azurite/pull/31.diff","patch_url":"https://github.com/Azure/Azurite/pull/31.patch","issue_url":"https://api.github.com/repos/Azure/Azurite/issues/31","number":31,"state":"open","locked":false,"title":"Fixed result when requesting single entity with rowkey and partitionkey","user":{"login":"kalleep","id":23356117,"node_id":"MDQ6VXNlcjIzMzU2MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/23356117?v=4","gravatar_id":"","url":"https://api.github.com/users/kalleep","html_url":"https://github.com/kalleep","followers_url":"https://api.github.com/users/kalleep/followers","following_url":"https://api.github.com/users/kalleep/following{/other_user}","gists_url":"https://api.github.com/users/kalleep/gists{/gist_id}","starred_url":"https://api.github.com/users/kalleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalleep/subscriptions","organizations_url":"https://api.github.com/users/kalleep/orgs","repos_url":"https://api.github.com/users/kalleep/repos","events_url":"https://api.github.com/users/kalleep/events{/privacy}","received_events_url":"https://api.github.com/users/kalleep/received_events","type":"User","site_admin":false},"body":"When using this with azure-storage-node and calling the api with retrieveEntity the wrong format is returned, it handles the response as it does when querying several entities\r\n\r\nReturn value when requesting one entity from dev\r\n\r\n```json\r\n{\r\n\t\"value\": {\r\n\t\t\"_\": [{\r\n\t\t\t\"Timestamp\": \"2018-06-08T10:09:31.010Z\",\r\n\t\t\t\"Timestamp@odata.type\": \"Edm.DateTime\",\r\n\t\t\t\"type\": 1,\r\n\t\t\t\"PartitionKey\": \"asdasd123\",\r\n\t\t\t\"RowKey\": \"a6c09770-6a69-11e8-ac4a-ddbdcad9d221\"\r\n\t\t}]\r\n\t},\r\n\t\".metadata\": {\r\n\t\t\"metadata\": \"http://127.0.0.1:10002/devstoreaccount1/$metadata#revokelist\",\r\n\t\t\"etag\": \"W/\\\"fe-/JfNhqfuZdZakFgYTVFcUMDIGdc\\\"\"\r\n\t}\r\n}\r\n```\r\nReturn value when requesting one entity from azure table\r\n```json\r\n{\r\n\t\"PartitionKey\": {\r\n\t\t\"$\": \"Edm.String\",\r\n\t\t\"_\": \"asdasd\"\r\n\t},\r\n\t\"RowKey\": {\r\n\t\t\"$\": \"Edm.String\",\r\n\t\t\"_\": \"839408a0-6a68-11e8-a3a3-fd722a41ad6b\"\r\n\t},\r\n\t\"Timestamp\": {\r\n\t\t\"$\": \"Edm.DateTime\",\r\n\t\t\"_\": \"2018-06-07T15:38:11.801Z\"\r\n\t},\r\n\t\"type\": {\r\n\t\t\"_\": 1\r\n\t},\r\n\t\".metadata\": {\r\n\t\t\"metadata\": \"https://{url}/$metadata#revokelist/@Element\",\r\n\t\t\"etag\": \"W/\\\"datetime'2018-06-07T15%3A38%3A11.8019139Z'\\\"\"\r\n\t}\r\n}\r\n```\r\n\r\nReturn value of one entity with fix\r\n```json\r\n{\r\n\t\"PartitionKey\": {\r\n\t\t\"$\": \"Edm.String\",\r\n\t\t\"_\": \"asdasd123\"\r\n\t},\r\n\t\"RowKey\": {\r\n\t\t\"$\": \"Edm.String\",\r\n\t\t\"_\": \"a6c09770-6a69-11e8-ac4a-ddbdcad9d221\"\r\n\t},\r\n\t\"Timestamp\": {\r\n\t\t\"$\": \"Edm.DateTime\",\r\n\t\t\"_\": \"2018-06-08T10:09:31.010Z\"\r\n\t},\r\n\t\"type\": {\r\n\t\t\"_\": 1\r\n\t},\r\n\t\".metadata\": {\r\n\t\t\"metadata\": \"http://127.0.0.1:10002/devstoreaccount1/$metadata#revokelist\",\r\n\t\t\"etag\": \"W/\\\"f2-OvSglgZEq3Cvo1EjrlNQtBG4j6o\\\"\"\r\n\t}\r\n}\r\n```\r\nRowKey and PartitionKey will only be set in header when calling with retrieveEntity\r\n","created_at":"2018-06-08T10:22:19Z","updated_at":"2018-06-08T10:22:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/Azurite/pulls/31/commits","review_comments_url":"https://api.github.com/repos/Azure/Azurite/pulls/31/comments","review_comment_url":"https://api.github.com/repos/Azure/Azurite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/Azurite/issues/31/comments","statuses_url":"https://api.github.com/repos/Azure/Azurite/statuses/7218a9d3aad477dbcc0ca3382147e809a2e5c5d5","head":{"label":"kalleep:fix/retrieve_entitiy_returns_wrong_result","ref":"fix/retrieve_entitiy_returns_wrong_result","sha":"7218a9d3aad477dbcc0ca3382147e809a2e5c5d5","user":{"login":"kalleep","id":23356117,"node_id":"MDQ6VXNlcjIzMzU2MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/23356117?v=4","gravatar_id":"","url":"https://api.github.com/users/kalleep","html_url":"https://github.com/kalleep","followers_url":"https://api.github.com/users/kalleep/followers","following_url":"https://api.github.com/users/kalleep/following{/other_user}","gists_url":"https://api.github.com/users/kalleep/gists{/gist_id}","starred_url":"https://api.github.com/users/kalleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalleep/subscriptions","organizations_url":"https://api.github.com/users/kalleep/orgs","repos_url":"https://api.github.com/users/kalleep/repos","events_url":"https://api.github.com/users/kalleep/events{/privacy}","received_events_url":"https://api.github.com/users/kalleep/received_events","type":"User","site_admin":false},"repo":{"id":135592101,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU1OTIxMDE=","name":"Azurite","full_name":"kalleep/Azurite","owner":{"login":"kalleep","id":23356117,"node_id":"MDQ6VXNlcjIzMzU2MTE3","avatar_url":"https://avatars0.githubusercontent.com/u/23356117?v=4","gravatar_id":"","url":"https://api.github.com/users/kalleep","html_url":"https://github.com/kalleep","followers_url":"https://api.github.com/users/kalleep/followers","following_url":"https://api.github.com/users/kalleep/following{/other_user}","gists_url":"https://api.github.com/users/kalleep/gists{/gist_id}","starred_url":"https://api.github.com/users/kalleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalleep/subscriptions","organizations_url":"https://api.github.com/users/kalleep/orgs","repos_url":"https://api.github.com/users/kalleep/repos","events_url":"https://api.github.com/users/kalleep/events{/privacy}","received_events_url":"https://api.github.com/users/kalleep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kalleep/Azurite","description":"A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies","fork":true,"url":"https://api.github.com/repos/kalleep/Azurite","forks_url":"https://api.github.com/repos/kalleep/Azurite/forks","keys_url":"https://api.github.com/repos/kalleep/Azurite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalleep/Azurite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalleep/Azurite/teams","hooks_url":"https://api.github.com/repos/kalleep/Azurite/hooks","issue_events_url":"https://api.github.com/repos/kalleep/Azurite/issues/events{/number}","events_url":"https://api.github.com/repos/kalleep/Azurite/events","assignees_url":"https://api.github.com/repos/kalleep/Azurite/assignees{/user}","branches_url":"https://api.github.com/repos/kalleep/Azurite/branches{/branch}","tags_url":"https://api.github.com/repos/kalleep/Azurite/tags","blobs_url":"https://api.github.com/repos/kalleep/Azurite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalleep/Azurite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalleep/Azurite/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalleep/Azurite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalleep/Azurite/statuses/{sha}","languages_url":"https://api.github.com/repos/kalleep/Azurite/languages","stargazers_url":"https://api.github.com/repos/kalleep/Azurite/stargazers","contributors_url":"https://api.github.com/repos/kalleep/Azurite/contributors","subscribers_url":"https://api.github.com/repos/kalleep/Azurite/subscribers","subscription_url":"https://api.github.com/repos/kalleep/Azurite/subscription","commits_url":"https://api.github.com/repos/kalleep/Azurite/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalleep/Azurite/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalleep/Azurite/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalleep/Azurite/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalleep/Azurite/contents/{+path}","compare_url":"https://api.github.com/repos/kalleep/Azurite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalleep/Azurite/merges","archive_url":"https://api.github.com/repos/kalleep/Azurite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalleep/Azurite/downloads","issues_url":"https://api.github.com/repos/kalleep/Azurite/issues{/number}","pulls_url":"https://api.github.com/repos/kalleep/Azurite/pulls{/number}","milestones_url":"https://api.github.com/repos/kalleep/Azurite/milestones{/number}","notifications_url":"https://api.github.com/repos/kalleep/Azurite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalleep/Azurite/labels{/name}","releases_url":"https://api.github.com/repos/kalleep/Azurite/releases{/id}","deployments_url":"https://api.github.com/repos/kalleep/Azurite/deployments","created_at":"2018-05-31T14:07:26Z","updated_at":"2018-05-31T14:07:30Z","pushed_at":"2018-06-08T10:01:29Z","git_url":"git://github.com/kalleep/Azurite.git","ssh_url":"git@github.com:kalleep/Azurite.git","clone_url":"https://github.com/kalleep/Azurite.git","svn_url":"https://github.com/kalleep/Azurite","homepage":null,"size":949,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:dev","ref":"dev","sha":"18c23094f260117c7785cb339f5f5974fbbbba3c","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":122269892,"node_id":"MDEwOlJlcG9zaXRvcnkxMjIyNjk4OTI=","name":"Azurite","full_name":"Azure/Azurite","owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/Azurite","description":"A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies","fork":false,"url":"https://api.github.com/repos/Azure/Azurite","forks_url":"https://api.github.com/repos/Azure/Azurite/forks","keys_url":"https://api.github.com/repos/Azure/Azurite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/Azurite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/Azurite/teams","hooks_url":"https://api.github.com/repos/Azure/Azurite/hooks","issue_events_url":"https://api.github.com/repos/Azure/Azurite/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/Azurite/events","assignees_url":"https://api.github.com/repos/Azure/Azurite/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/Azurite/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/Azurite/tags","blobs_url":"https://api.github.com/repos/Azure/Azurite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/Azurite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/Azurite/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/Azurite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/Azurite/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/Azurite/languages","stargazers_url":"https://api.github.com/repos/Azure/Azurite/stargazers","contributors_url":"https://api.github.com/repos/Azure/Azurite/contributors","subscribers_url":"https://api.github.com/repos/Azure/Azurite/subscribers","subscription_url":"https://api.github.com/repos/Azure/Azurite/subscription","commits_url":"https://api.github.com/repos/Azure/Azurite/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/Azurite/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/Azurite/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/Azurite/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/Azurite/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/Azurite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/Azurite/merges","archive_url":"https://api.github.com/repos/Azure/Azurite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/Azurite/downloads","issues_url":"https://api.github.com/repos/Azure/Azurite/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/Azurite/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/Azurite/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/Azurite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/Azurite/labels{/name}","releases_url":"https://api.github.com/repos/Azure/Azurite/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/Azurite/deployments","created_at":"2018-02-20T23:29:37Z","updated_at":"2018-06-07T14:13:31Z","pushed_at":"2018-06-07T17:04:45Z","git_url":"git://github.com/Azure/Azurite.git","ssh_url":"git@github.com:Azure/Azurite.git","clone_url":"https://github.com/Azure/Azurite.git","svn_url":"https://github.com/Azure/Azurite","homepage":null,"size":949,"stargazers_count":73,"watchers_count":73,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":16,"open_issues":23,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/Azurite/pulls/31"},"html":{"href":"https://github.com/Azure/Azurite/pull/31"},"issue":{"href":"https://api.github.com/repos/Azure/Azurite/issues/31"},"comments":{"href":"https://api.github.com/repos/Azure/Azurite/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/Azurite/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/Azurite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/Azurite/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/Azurite/statuses/7218a9d3aad477dbcc0ca3382147e809a2e5c5d5"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":29,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"kalleep"}}