Open omus opened 3 years ago
Proposal for an backwards compatible implementation:
ServiceId
and keep the whitespace."secretsmanager" => "Secrets Manager.jl", "secrets_manager" => "Secrets Manager.jl"
)@service
lower case the specified module name and use the mapping to determine the service file name.@service
(prior to lower casing) does not match the service name (the service file name with spaces and the extension removed) then emit a deprecation warningThis should keep the current behaviour and also allow the use of the new proposed module names
Right now
@service
supports allowing the user to define the casing used for the module name:https://github.com/JuliaCloud/AWS.jl/blob/ca6b5509365d89e1878c770050b9d168402f7b0a/src/AWS.jl#L113-L116
If we implement #435 we should probably choose a single canonical spelling for each service instead of having the user be able to specify their own.
I think going with the standard Julia module naming convention is the correct approach which would result in: