Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve kw-arg wrapper codegen #31

Open
samoconnor opened this issue Mar 1, 2018 · 0 comments
Open

Improve kw-arg wrapper codegen #31

samoconnor opened this issue Mar 1, 2018 · 0 comments

Comments

@samoconnor
Copy link
Contributor

See: #28 where a stack overflow resulted from ambiguity in kw arg processing.

The logs(a...; b...) = logs(a..., b) needs to be replaced by something more predictable.

AWSCore.jl/src/Services.jl

Lines 1108 to 1123 in 8a74ec7

function logs(aws::AWSConfig, operation, args=[])
AWSCore.service_json(
aws;
service = "logs",
version = "2014-03-28",
json_version = "1.1",
target = "Logs_20140328",
operation = operation,
args = args)
end
logs(operation, args=[]) =
logs(default_aws_config(), operation, args)
logs(a...; b...) = logs(a..., b)

See also JuliaLang/julia#26204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant