{"action":"created","comment":{"url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/comments/62235490","id":62235490,"diff_hunk":"@@ -0,0 +1,33 @@\n+﻿using System;\n+using System.Collections;\n+using System.Collections.Generic;\n+using System.Diagnostics;\n+using Newtonsoft.Json;\n+\n+namespace Docker.DotNet\n+{\n+    /// <summary>\n+    /// Handles serialization of objects like Lists, Arrays, etc.\n+    /// </summary>\n+    internal class EnumerableQueryStringConverter : IQueryStringConverter\n+    {\n+        public bool CanConvert(Type t)\n+        {\n+            return typeof (IEnumerable).IsAssignableFrom(t);\n+        }\n+\n+        public string[] Convert(object o)\n+        {\n+            Debug.Assert(o != null);\n+            Debug.Assert(o is IEnumerable);\n+\n+            var items = new List<string>();\n+            foreach (var e in ((IEnumerable) o))","path":"Docker.DotNet/EnumerableQueryStringConverter.cs","position":25,"original_position":25,"commit_id":"582603ac939bab73340f15fa5453a90070feee4b","original_commit_id":"582603ac939bab73340f15fa5453a90070feee4b","user":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"body":"Unfortunately LINQ only works on IEnumerable<T> and I dont see why we need a generic restriction on EnumerableQueryStringConverter but If you want I can make it EnumerableQueryStringConverter<T> and then on the attributes generate typeof(EnumerableQueryStringConverter<T>) that matches.","created_at":"2016-05-05T18:52:12Z","updated_at":"2016-05-05T18:52:12Z","html_url":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66#discussion_r62235490","pull_request_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/comments/62235490"},"html":{"href":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66#discussion_r62235490"},"pull_request":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66","id":69044643,"html_url":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66","diff_url":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66.diff","patch_url":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66.patch","issue_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/66","number":66,"state":"open","locked":false,"title":"WIP: Resolves: #62","user":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Justin Terry <juterry@microsoft.com>","created_at":"2016-05-05T18:03:34Z","updated_at":"2016-05-05T18:52:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d60b1499c5ef0a459d33af78b7ea8aa219e6e7ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66/commits","review_comments_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66/comments","review_comment_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/66/comments","statuses_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/statuses/582603ac939bab73340f15fa5453a90070feee4b","head":{"label":"jterry75:fix_collection_querystring","ref":"fix_collection_querystring","sha":"582603ac939bab73340f15fa5453a90070feee4b","user":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"repo":{"id":56535288,"name":"Docker.DotNet","full_name":"jterry75/Docker.DotNet","owner":{"login":"jterry75","id":5858142,"avatar_url":"https://avatars.githubusercontent.com/u/5858142?v=3","gravatar_id":"","url":"https://api.github.com/users/jterry75","html_url":"https://github.com/jterry75","followers_url":"https://api.github.com/users/jterry75/followers","following_url":"https://api.github.com/users/jterry75/following{/other_user}","gists_url":"https://api.github.com/users/jterry75/gists{/gist_id}","starred_url":"https://api.github.com/users/jterry75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jterry75/subscriptions","organizations_url":"https://api.github.com/users/jterry75/orgs","repos_url":"https://api.github.com/users/jterry75/repos","events_url":"https://api.github.com/users/jterry75/events{/privacy}","received_events_url":"https://api.github.com/users/jterry75/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jterry75/Docker.DotNet","description":":whale: .NET (C#) Client Library for Docker API","fork":true,"url":"https://api.github.com/repos/jterry75/Docker.DotNet","forks_url":"https://api.github.com/repos/jterry75/Docker.DotNet/forks","keys_url":"https://api.github.com/repos/jterry75/Docker.DotNet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jterry75/Docker.DotNet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jterry75/Docker.DotNet/teams","hooks_url":"https://api.github.com/repos/jterry75/Docker.DotNet/hooks","issue_events_url":"https://api.github.com/repos/jterry75/Docker.DotNet/issues/events{/number}","events_url":"https://api.github.com/repos/jterry75/Docker.DotNet/events","assignees_url":"https://api.github.com/repos/jterry75/Docker.DotNet/assignees{/user}","branches_url":"https://api.github.com/repos/jterry75/Docker.DotNet/branches{/branch}","tags_url":"https://api.github.com/repos/jterry75/Docker.DotNet/tags","blobs_url":"https://api.github.com/repos/jterry75/Docker.DotNet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jterry75/Docker.DotNet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jterry75/Docker.DotNet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jterry75/Docker.DotNet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jterry75/Docker.DotNet/statuses/{sha}","languages_url":"https://api.github.com/repos/jterry75/Docker.DotNet/languages","stargazers_url":"https://api.github.com/repos/jterry75/Docker.DotNet/stargazers","contributors_url":"https://api.github.com/repos/jterry75/Docker.DotNet/contributors","subscribers_url":"https://api.github.com/repos/jterry75/Docker.DotNet/subscribers","subscription_url":"https://api.github.com/repos/jterry75/Docker.DotNet/subscription","commits_url":"https://api.github.com/repos/jterry75/Docker.DotNet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jterry75/Docker.DotNet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jterry75/Docker.DotNet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jterry75/Docker.DotNet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jterry75/Docker.DotNet/contents/{+path}","compare_url":"https://api.github.com/repos/jterry75/Docker.DotNet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jterry75/Docker.DotNet/merges","archive_url":"https://api.github.com/repos/jterry75/Docker.DotNet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jterry75/Docker.DotNet/downloads","issues_url":"https://api.github.com/repos/jterry75/Docker.DotNet/issues{/number}","pulls_url":"https://api.github.com/repos/jterry75/Docker.DotNet/pulls{/number}","milestones_url":"https://api.github.com/repos/jterry75/Docker.DotNet/milestones{/number}","notifications_url":"https://api.github.com/repos/jterry75/Docker.DotNet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jterry75/Docker.DotNet/labels{/name}","releases_url":"https://api.github.com/repos/jterry75/Docker.DotNet/releases{/id}","deployments_url":"https://api.github.com/repos/jterry75/Docker.DotNet/deployments","created_at":"2016-04-18T19:19:52Z","updated_at":"2016-04-18T19:19:53Z","pushed_at":"2016-05-05T18:01:10Z","git_url":"git://github.com/jterry75/Docker.DotNet.git","ssh_url":"git@github.com:jterry75/Docker.DotNet.git","clone_url":"https://github.com/jterry75/Docker.DotNet.git","svn_url":"https://github.com/jterry75/Docker.DotNet","homepage":"https://www.nuget.org/packages/Docker.DotNet/","size":254,"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":"ahmetalpbalkan:master","ref":"master","sha":"010668922d230798a7d1cb6c2cadc87d08d016a2","user":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"repo":{"id":23337905,"name":"Docker.DotNet","full_name":"ahmetalpbalkan/Docker.DotNet","owner":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahmetalpbalkan/Docker.DotNet","description":":whale: .NET (C#) Client Library for Docker API","fork":false,"url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet","forks_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/forks","keys_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/teams","hooks_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/hooks","issue_events_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/events{/number}","events_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/events","assignees_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/assignees{/user}","branches_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/branches{/branch}","tags_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/tags","blobs_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/statuses/{sha}","languages_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/languages","stargazers_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/stargazers","contributors_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/contributors","subscribers_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/subscribers","subscription_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/subscription","commits_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/contents/{+path}","compare_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/merges","archive_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/downloads","issues_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues{/number}","pulls_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls{/number}","milestones_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/milestones{/number}","notifications_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/labels{/name}","releases_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/releases{/id}","deployments_url":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/deployments","created_at":"2014-08-26T03:47:17Z","updated_at":"2016-05-05T05:08:22Z","pushed_at":"2016-05-05T18:03:35Z","git_url":"git://github.com/ahmetalpbalkan/Docker.DotNet.git","ssh_url":"git@github.com:ahmetalpbalkan/Docker.DotNet.git","clone_url":"https://github.com/ahmetalpbalkan/Docker.DotNet.git","svn_url":"https://github.com/ahmetalpbalkan/Docker.DotNet","homepage":"https://www.nuget.org/packages/Docker.DotNet/","size":272,"stargazers_count":126,"watchers_count":126,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":11,"forks":37,"open_issues":11,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66"},"html":{"href":"https://github.com/ahmetalpbalkan/Docker.DotNet/pull/66"},"issue":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/66"},"comments":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/ahmetalpbalkan/Docker.DotNet/statuses/582603ac939bab73340f15fa5453a90070feee4b"}}}}