You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal for an backwards compatible implementation:
When generating the high-level API file names keep the casing as defined by the ServiceId and keep the whitespace.
Generate a mapping of lowercase service names to the high-level API file name that have entries using underscore or no space separator (e.g. "secretsmanager" => "Secrets Manager.jl", "secrets_manager" => "Secrets Manager.jl")
When using @service lower case the specified module name and use the mapping to determine the service file name.
If the module name passed into @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 warning
This 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:AWS.jl/src/AWS.jl
Lines 113 to 116 in ca6b550
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:
The text was updated successfully, but these errors were encountered: