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

Resource function documentation bicep examples can be misleading #2424

Closed
afscrome opened this issue Apr 26, 2021 · 4 comments
Closed

Resource function documentation bicep examples can be misleading #2424

afscrome opened this issue Apr 26, 2021 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@afscrome
Copy link
Contributor

afscrome commented Apr 26, 2021

Is your feature request related to a problem? Please describe.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource?tabs=bicep

The template function documentation has several bicep examples. Whilst the examples do correctly document the functiosn in question, there are often better ways to avoid those functions in Bicep.

Describe the solution you'd like

Whilst the non optimal examples are probably still ultimately needed as they're needed to document the function, it would be ideal of the documentation could highlight situations where the functions can be replaced with more idiomatic bicep that better maintain type safety. For example:

@afscrome afscrome added the enhancement New feature or request label Apr 26, 2021
@ghost ghost added the Needs: Triage 🔍 label Apr 26, 2021
@alex-frankel
Copy link
Collaborator

Good suggestion - @tfitzmac @mumian it would be good if we could add this context to docs

@alex-frankel alex-frankel added documentation Improvements or additions to documentation and removed Needs: Triage 🔍 labels Apr 26, 2021
@mumian
Copy link
Contributor

mumian commented Apr 26, 2021

@alex-frankel - I will work on this.

@mumian
Copy link
Contributor

mumian commented May 5, 2021

@mumian
Copy link
Contributor

mumian commented Jun 3, 2021

#please-close

@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants