Skip to content

AWSRegion without enum #54

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

Merged
merged 1 commit into from
Apr 3, 2020
Merged

AWSRegion without enum #54

merged 1 commit into from
Apr 3, 2020

Conversation

fabianfett
Copy link
Member

Motivation

We don't want to leak enums because we can't add cases without a major version release later on. AWSRegion currently is an enum, where the possibility of further cases in the future is relatively high.

Changes

  • AWSRegion has become a RawRepresentable struct
  • AWSRegion conforms to Equatable and Codable

@fabianfett fabianfett requested a review from tomerd April 3, 2020 15:27
@tomerd tomerd merged commit a810911 into master Apr 3, 2020
@fabianfett fabianfett deleted the AWSRegion-without-enum branch April 23, 2020 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants