Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate enum types with Contains() and Values() receiver methods #3442

Closed
wants to merge 1 commit into from

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Jul 25, 2020

Closes #3441

Proof of concept implementation to allow consumers to easily handle operations with all elements of API enumeration types. If this is an acceptable direction, please let me know if this needs testing or other changes, otherwise more than happy to have this closed in preference of a different implementation. 馃槃

Reference: aws#3441

Allows consumers to easily handle operations with all elements of API enumeration types.
@bflad
Copy link
Contributor Author

bflad commented Jul 25, 2020

It seems like this would really want some shared type(s) to handle the common logic, but rather than guess at that particular implementation, will close this in preference of discussion in the issue.

@bflad bflad closed this Jul 25, 2020
@bflad bflad deleted the f-enum-values branch July 25, 2020 05:54
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.

[Feature Request] Functionality to Retrieve All Enumeration Values
1 participant