{"action":"opened","number":142,"pull_request":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142","id":26739900,"html_url":"https://github.com/StackExchange/StackExchange.Redis/pull/142","diff_url":"https://github.com/StackExchange/StackExchange.Redis/pull/142.diff","patch_url":"https://github.com/StackExchange/StackExchange.Redis/pull/142.patch","issue_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/142","number":142,"state":"open","locked":false,"title":"expose Prepend and Append methods on RedisKey, so we can avoid some string concats in common cases","user":{"login":"kevin-montrose","id":1219467,"avatar_url":"https://avatars.githubusercontent.com/u/1219467?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-montrose","html_url":"https://github.com/kevin-montrose","followers_url":"https://api.github.com/users/kevin-montrose/followers","following_url":"https://api.github.com/users/kevin-montrose/following{/other_user}","gists_url":"https://api.github.com/users/kevin-montrose/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-montrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-montrose/subscriptions","organizations_url":"https://api.github.com/users/kevin-montrose/orgs","repos_url":"https://api.github.com/users/kevin-montrose/repos","events_url":"https://api.github.com/users/kevin-montrose/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-montrose/received_events","type":"User","site_admin":false},"body":"We've got some code that routinely concats an arbitrary string to a fixed prefix.  It'd be nice to not have to allocate a whole new `string` (or `byte[]`, or whatever) when we're just gonna turn this into a `RedisKey` and be done with it.\r\n\r\nThis commit exposes the already existing [`WithPrefix`](https://github.com/StackExchange/StackExchange.Redis/blob/d994b7ad57a76586487cd2d460d55cb850498448/StackExchange.Redis/StackExchange/Redis/RedisKey.cs#L253) method on `RedisKey` in separate `Prepend` and `Append` wrapper methods.","created_at":"2015-01-01T02:03:38Z","updated_at":"2015-01-01T02:03:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142/commits","review_comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142/comments","review_comment_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/comments/{number}","comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/142/comments","statuses_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/statuses/5bd748a1df344e0d7f6bf452d7571c08efe7c6e5","head":{"label":"kevin-montrose:prepend-append","ref":"prepend-append","sha":"5bd748a1df344e0d7f6bf452d7571c08efe7c6e5","user":{"login":"kevin-montrose","id":1219467,"avatar_url":"https://avatars.githubusercontent.com/u/1219467?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-montrose","html_url":"https://github.com/kevin-montrose","followers_url":"https://api.github.com/users/kevin-montrose/followers","following_url":"https://api.github.com/users/kevin-montrose/following{/other_user}","gists_url":"https://api.github.com/users/kevin-montrose/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-montrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-montrose/subscriptions","organizations_url":"https://api.github.com/users/kevin-montrose/orgs","repos_url":"https://api.github.com/users/kevin-montrose/repos","events_url":"https://api.github.com/users/kevin-montrose/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-montrose/received_events","type":"User","site_admin":false},"repo":{"id":28677762,"name":"StackExchange.Redis","full_name":"kevin-montrose/StackExchange.Redis","owner":{"login":"kevin-montrose","id":1219467,"avatar_url":"https://avatars.githubusercontent.com/u/1219467?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-montrose","html_url":"https://github.com/kevin-montrose","followers_url":"https://api.github.com/users/kevin-montrose/followers","following_url":"https://api.github.com/users/kevin-montrose/following{/other_user}","gists_url":"https://api.github.com/users/kevin-montrose/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-montrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-montrose/subscriptions","organizations_url":"https://api.github.com/users/kevin-montrose/orgs","repos_url":"https://api.github.com/users/kevin-montrose/repos","events_url":"https://api.github.com/users/kevin-montrose/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-montrose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevin-montrose/StackExchange.Redis","description":"General purpose redis client","fork":true,"url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis","forks_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/forks","keys_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/teams","hooks_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/hooks","issue_events_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/issues/events{/number}","events_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/events","assignees_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/assignees{/user}","branches_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/branches{/branch}","tags_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/tags","blobs_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/statuses/{sha}","languages_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/languages","stargazers_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/stargazers","contributors_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/contributors","subscribers_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/subscribers","subscription_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/subscription","commits_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/issues/comments/{number}","contents_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/contents/{+path}","compare_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/merges","archive_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/downloads","issues_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/issues{/number}","pulls_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/pulls{/number}","milestones_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/milestones{/number}","notifications_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/labels{/name}","releases_url":"https://api.github.com/repos/kevin-montrose/StackExchange.Redis/releases{/id}","created_at":"2015-01-01T00:20:39Z","updated_at":"2015-01-01T01:53:59Z","pushed_at":"2015-01-01T01:57:54Z","git_url":"git://github.com/kevin-montrose/StackExchange.Redis.git","ssh_url":"git@github.com:kevin-montrose/StackExchange.Redis.git","clone_url":"https://github.com/kevin-montrose/StackExchange.Redis.git","svn_url":"https://github.com/kevin-montrose/StackExchange.Redis","homepage":null,"size":5595,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"StackExchange:master","ref":"master","sha":"d994b7ad57a76586487cd2d460d55cb850498448","user":{"login":"StackExchange","id":1393171,"avatar_url":"https://avatars.githubusercontent.com/u/1393171?v=3","gravatar_id":"","url":"https://api.github.com/users/StackExchange","html_url":"https://github.com/StackExchange","followers_url":"https://api.github.com/users/StackExchange/followers","following_url":"https://api.github.com/users/StackExchange/following{/other_user}","gists_url":"https://api.github.com/users/StackExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/StackExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackExchange/subscriptions","organizations_url":"https://api.github.com/users/StackExchange/orgs","repos_url":"https://api.github.com/users/StackExchange/repos","events_url":"https://api.github.com/users/StackExchange/events{/privacy}","received_events_url":"https://api.github.com/users/StackExchange/received_events","type":"Organization","site_admin":false},"repo":{"id":17748183,"name":"StackExchange.Redis","full_name":"StackExchange/StackExchange.Redis","owner":{"login":"StackExchange","id":1393171,"avatar_url":"https://avatars.githubusercontent.com/u/1393171?v=3","gravatar_id":"","url":"https://api.github.com/users/StackExchange","html_url":"https://github.com/StackExchange","followers_url":"https://api.github.com/users/StackExchange/followers","following_url":"https://api.github.com/users/StackExchange/following{/other_user}","gists_url":"https://api.github.com/users/StackExchange/gists{/gist_id}","starred_url":"https://api.github.com/users/StackExchange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackExchange/subscriptions","organizations_url":"https://api.github.com/users/StackExchange/orgs","repos_url":"https://api.github.com/users/StackExchange/repos","events_url":"https://api.github.com/users/StackExchange/events{/privacy}","received_events_url":"https://api.github.com/users/StackExchange/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackExchange/StackExchange.Redis","description":"General purpose redis client","fork":false,"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis","forks_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/forks","keys_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/teams","hooks_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/hooks","issue_events_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/events{/number}","events_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/events","assignees_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/assignees{/user}","branches_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/branches{/branch}","tags_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/tags","blobs_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/statuses/{sha}","languages_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/languages","stargazers_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/stargazers","contributors_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/contributors","subscribers_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/subscribers","subscription_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/subscription","commits_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/comments/{number}","contents_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/contents/{+path}","compare_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/merges","archive_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/downloads","issues_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues{/number}","pulls_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls{/number}","milestones_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/milestones{/number}","notifications_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/labels{/name}","releases_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/releases{/id}","created_at":"2014-03-14T14:09:26Z","updated_at":"2014-12-30T05:52:44Z","pushed_at":"2014-11-14T16:49:53Z","git_url":"git://github.com/StackExchange/StackExchange.Redis.git","ssh_url":"git@github.com:StackExchange/StackExchange.Redis.git","clone_url":"https://github.com/StackExchange/StackExchange.Redis.git","svn_url":"https://github.com/StackExchange/StackExchange.Redis","homepage":null,"size":7647,"stargazers_count":430,"watchers_count":430,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":70,"forks":114,"open_issues":70,"watchers":430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142"},"html":{"href":"https://github.com/StackExchange/StackExchange.Redis/pull/142"},"issue":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/142"},"comments":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/StackExchange/StackExchange.Redis/statuses/5bd748a1df344e0d7f6bf452d7571c08efe7c6e5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":57,"deletions":0,"changed_files":2}}