[Issue] Documentation contains invalid hook "preinit" #1550
Labels
customer-reported
identify a customer issue
documentation
Improvements or additions to documentation
extensibility
question
Milestone
Output from
azd version
azd version 0.6.0-beta.2 (commit c4a201e)
Output from
az version
n/a - not relevant for my scenario
Describe the bug
The documentations and the announcement blog post for
azd
version 0.6.0-beta.1 contain a code snippet that contains the hook definition for apreinit
event (link).This event is not foreseen in the JSON schema of the
azure.yaml
as a vlid entry.I assume that this event should not be part of the flow.
To Reproduce
Define a azure.yaml and specify a
preinit
hook.VSCode will highlight an issue due to validation.
Executing an
azd init
with the file does not show any effect, it does not seem that the hook gets picked up.Expected behavior
Not sure: either the documentation needs to be adjusted or the event is indeed missing in the
azure.yaml
JSON schema as well as in theazd
implementation.Environment
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: