uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

[Swift] Error enum case starts with uppercase letter

Open szymon-nord opened this issue 1 year ago • 1 comments
trafficstars

Hey 👋 We noticed a discrepancy between regular enums and enums that conform to Error type in Swift. The latter ones are generated with uppercase first letter which do not align with lowerCamelCase Swift conventions (source).

Enum template consists enum_variant_swift_quoted for particular case, but error template has class_name.

Is this something which can be addressed somehow?

szymon-nord avatar Oct 09 '24 20:10 szymon-nord