-
Notifications
You must be signed in to change notification settings - Fork 756
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
Custom types for Bicep #3723
Labels
enhancement
New feature or request
Milestone
Comments
ghost
added
the
Needs: Triage 🔍
label
Jul 22, 2021
Related to #622. |
FWIW, I think this is two step process:
|
This was referenced May 26, 2022
I think this is a duplicate of #8673? |
Closing as duplicate of #4158 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies if this is a dupe - I've scanned the open issues and didn't spot it.
Is your feature request related to a problem? Please describe.
Consider the following:
The type of the above will be an array of
any
. It's going to be exercised by something like this:Unless I'm missing something in the docs there doesn't seem to be a way to define a custom type which could be used to more directly describe the type of the array. This means people can supply invalid values.
Describe the solution you'd like
It would be amazing if there was a way to specify a custom type. eg:
which could be used something like this:
What do you think?
The text was updated successfully, but these errors were encountered: