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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] For Enums expose a function that will return a list of all possible constants defined #1063

Open
alexott opened this issue Oct 14, 2024 · 0 comments

Comments

@alexott
Copy link
Contributor

alexott commented Oct 14, 2024

Problem Statement

In the terraform provider, we may need a validation logic that will check that the value is in the list of all possible constants.

Proposed Solution

For all generated enums generate a function that will return a slice with all defined values for a given type (maybe only string-based types).

Additional Context

See comment here: databricks/terraform-provider-databricks#4051 (comment)

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

No branches or pull requests

1 participant