{"action":"created","issue":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/740","repository_url":"https://api.github.com/repos/HangfireIO/Hangfire","labels_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/740/labels{/name}","comments_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/740/comments","events_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/740/events","html_url":"https://github.com/HangfireIO/Hangfire/pull/740","id":191041027,"number":740,"title":"Add support an array of generic type as parameter type","user":{"login":"aidmsu","id":4264267,"avatar_url":"https://avatars.githubusercontent.com/u/4264267?v=3","gravatar_id":"","url":"https://api.github.com/users/aidmsu","html_url":"https://github.com/aidmsu","followers_url":"https://api.github.com/users/aidmsu/followers","following_url":"https://api.github.com/users/aidmsu/following{/other_user}","gists_url":"https://api.github.com/users/aidmsu/gists{/gist_id}","starred_url":"https://api.github.com/users/aidmsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidmsu/subscriptions","organizations_url":"https://api.github.com/users/aidmsu/orgs","repos_url":"https://api.github.com/users/aidmsu/repos","events_url":"https://api.github.com/users/aidmsu/events{/privacy}","received_events_url":"https://api.github.com/users/aidmsu/received_events","type":"User","site_admin":false},"labels":[{"id":434419489,"url":"https://api.github.com/repos/HangfireIO/Hangfire/labels/a:%20core","name":"a: core","color":"fbca04","default":false},{"id":317365160,"url":"https://api.github.com/repos/HangfireIO/Hangfire/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":50900004,"url":"https://api.github.com/repos/HangfireIO/Hangfire/labels/t:%20bug","name":"t: bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/milestones/52","html_url":"https://github.com/HangfireIO/Hangfire/milestones/1.6.7","labels_url":"https://api.github.com/repos/HangfireIO/Hangfire/milestones/52/labels","id":2092837,"number":52,"title":"1.6.7","description":"","creator":{"login":"odinserj","id":1078718,"avatar_url":"https://avatars.githubusercontent.com/u/1078718?v=3","gravatar_id":"","url":"https://api.github.com/users/odinserj","html_url":"https://github.com/odinserj","followers_url":"https://api.github.com/users/odinserj/followers","following_url":"https://api.github.com/users/odinserj/following{/other_user}","gists_url":"https://api.github.com/users/odinserj/gists{/gist_id}","starred_url":"https://api.github.com/users/odinserj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinserj/subscriptions","organizations_url":"https://api.github.com/users/odinserj/orgs","repos_url":"https://api.github.com/users/odinserj/repos","events_url":"https://api.github.com/users/odinserj/events{/privacy}","received_events_url":"https://api.github.com/users/odinserj/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":17,"state":"open","created_at":"2016-10-25T17:16:07Z","updated_at":"2016-11-24T13:31:59Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-11-22T15:39:22Z","updated_at":"2016-11-24T13:33:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/pulls/740","html_url":"https://github.com/HangfireIO/Hangfire/pull/740","diff_url":"https://github.com/HangfireIO/Hangfire/pull/740.diff","patch_url":"https://github.com/HangfireIO/Hangfire/pull/740.patch"},"body":"_It's better to review this PR after reviewing of PR #739 because that PR resolves line endings issue_\r\n\r\nAdd support for array of generic types like `T[]` or `Tuple<T,T>[]` as parameter type.\r\n\r\nRelated issue:  #408 \r\n\r\nYou can enqueue method with generic array parameters:\r\n```csharp\r\npublic void Foo<T>(T[] argArray) ;\r\n\r\n...\r\n\r\nstring[] aArray = ...;\r\nBackgroundJob.Enqueue(() => Foo(aArray);\r\n```\r\nAlso you can enqueue a method which has more complicated parameter type:\r\n```csharp\r\npublic void Foo<T>(Tuple<T,int>[] argArray) ;\r\n\r\n...\r\n\r\nTuple<string,int>[] aArray = ...;\r\nBackgroundJob.Enqueue(() => Foo(aArray);\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/comments/262777208","html_url":"https://github.com/HangfireIO/Hangfire/pull/740#issuecomment-262777208","issue_url":"https://api.github.com/repos/HangfireIO/Hangfire/issues/740","id":262777208,"user":{"login":"odinserj","id":1078718,"avatar_url":"https://avatars.githubusercontent.com/u/1078718?v=3","gravatar_id":"","url":"https://api.github.com/users/odinserj","html_url":"https://github.com/odinserj","followers_url":"https://api.github.com/users/odinserj/followers","following_url":"https://api.github.com/users/odinserj/following{/other_user}","gists_url":"https://api.github.com/users/odinserj/gists{/gist_id}","starred_url":"https://api.github.com/users/odinserj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odinserj/subscriptions","organizations_url":"https://api.github.com/users/odinserj/orgs","repos_url":"https://api.github.com/users/odinserj/repos","events_url":"https://api.github.com/users/odinserj/events{/privacy}","received_events_url":"https://api.github.com/users/odinserj/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T13:33:09Z","updated_at":"2016-11-24T13:33:09Z","body":"@aidmsu, I've merged the PR #739. Could you merge an upstream `master` branch into this one to resolve the merge conflicts?"}}
{"actor":{"display_login":"odinserj"}}