{"action":"created","issue":{"url":"https://api.github.com/repos/invenia/Mocking.jl/issues/49","repository_url":"https://api.github.com/repos/invenia/Mocking.jl","labels_url":"https://api.github.com/repos/invenia/Mocking.jl/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/invenia/Mocking.jl/issues/49/comments","events_url":"https://api.github.com/repos/invenia/Mocking.jl/issues/49/events","html_url":"https://github.com/invenia/Mocking.jl/issues/49","id":335594550,"node_id":"MDU6SXNzdWUzMzU1OTQ1NTA=","number":49,"title":"Support patching `kwargs...`","user":{"login":"iamed2","id":3131001,"node_id":"MDQ6VXNlcjMxMzEwMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3131001?v=4","gravatar_id":"","url":"https://api.github.com/users/iamed2","html_url":"https://github.com/iamed2","followers_url":"https://api.github.com/users/iamed2/followers","following_url":"https://api.github.com/users/iamed2/following{/other_user}","gists_url":"https://api.github.com/users/iamed2/gists{/gist_id}","starred_url":"https://api.github.com/users/iamed2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamed2/subscriptions","organizations_url":"https://api.github.com/users/iamed2/orgs","repos_url":"https://api.github.com/users/iamed2/repos","events_url":"https://api.github.com/users/iamed2/events{/privacy}","received_events_url":"https://api.github.com/users/iamed2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T22:45:25Z","updated_at":"2018-06-26T20:33:36Z","closed_at":"2018-06-26T20:33:36Z","author_association":"MEMBER","body":"When patching a function that takes specific keyword arguments, it would be helpful to be able to patch with a function that takes `kwargs...`. Currently attempting that produces:\r\n\r\n```\r\n  Unable to process expression\r\n  Stacktrace:\r\n   [1] variable_name(::Expr) at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/expr.jl:133\r\n   [2] call_parameters(::Expr) at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/expr.jl:148\r\n   [3] convert(::Type{Expr}, ::Mocking.Patch) at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:94\r\n   [4] apply! at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:161 [inlined]\r\n   [5] apply!(::Mocking.PatchEnv, ::Array{Mocking.Patch,1}) at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:166\r\n   [6] Type at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:150 [inlined]\r\n   [7] #apply#6 at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:181 [inlined]\r\n   [8] apply(::Function, ::Array{Mocking.Patch,1}) at /Users/ericdavies/.playground/share/invenia/packages/v0.6/Mocking/src/Mocking.jl:181\r\n   [9] macro expansion at /Users/ericdavies/.playground/share/invenia/packages/v0.6/CloudWatchLogs/test/aws.jl:10 [inlined]\r\n   [10] macro expansion at ./test.jl:860 [inlined]\r\n   [11] anonymous at ./<missing>:?\r\n   [12] include_from_node1(::String) at ./loading.jl:576\r\n   [13] include(::String) at ./sysimg.jl:14\r\n   [14] macro expansion at /Users/ericdavies/.playground/share/invenia/packages/v0.6/CloudWatchLogs/test/runtests.jl:10 [inlined]\r\n   [15] macro expansion at ./test.jl:860 [inlined]\r\n   [16] anonymous at ./<missing>:?\r\n   [17] include_from_node1(::String) at ./loading.jl:576\r\n   [18] include(::String) at ./sysimg.jl:14\r\n   [19] process_options(::Base.JLOptions) at ./client.jl:305\r\n   [20] _start() at ./client.jl:371\r\n```"},"comment":{"url":"https://api.github.com/repos/invenia/Mocking.jl/issues/comments/400452465","html_url":"https://github.com/invenia/Mocking.jl/issues/49#issuecomment-400452465","issue_url":"https://api.github.com/repos/invenia/Mocking.jl/issues/49","id":400452465,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQ1MjQ2NQ==","user":{"login":"iamed2","id":3131001,"node_id":"MDQ6VXNlcjMxMzEwMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3131001?v=4","gravatar_id":"","url":"https://api.github.com/users/iamed2","html_url":"https://github.com/iamed2","followers_url":"https://api.github.com/users/iamed2/followers","following_url":"https://api.github.com/users/iamed2/following{/other_user}","gists_url":"https://api.github.com/users/iamed2/gists{/gist_id}","starred_url":"https://api.github.com/users/iamed2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamed2/subscriptions","organizations_url":"https://api.github.com/users/iamed2/orgs","repos_url":"https://api.github.com/users/iamed2/repos","events_url":"https://api.github.com/users/iamed2/events{/privacy}","received_events_url":"https://api.github.com/users/iamed2/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T20:33:36Z","updated_at":"2018-06-26T20:33:36Z","author_association":"MEMBER","body":"This was already fixed, I was just on 0.5.2"}}
{"actor":{"display_login":"iamed2"}}