Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

fix: resolving cannot create enum from eu-north-1-value #211

Closed
wants to merge 1 commit into from
Closed

fix: resolving cannot create enum from eu-north-1-value #211

wants to merge 1 commit into from

Conversation

ocworld
Copy link
Contributor

@ocworld ocworld commented Dec 3, 2019

It is related to #210.

If EMR version is low, IllegalArgumentException is raised.

It is because when calling the apply function by name as a string, if name is not in Regions, the exception is raised.

So, I've fixed the bug. In my code, when raising the exception, null is returned like "def apply(name: awsregions.Regions): Region".

@ocworld
Copy link
Contributor Author

ocworld commented Dec 3, 2019

I'll request this pull request again with small changes.

@ocworld ocworld closed this Dec 3, 2019
@ocworld ocworld deleted the Cannot-create-enum-from-eu-north-1-value branch December 4, 2019 07:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant