azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

Adds middleware to ensure azd environment is always available

Open wbreza opened this issue 1 year ago • 2 comments

Adds an EnvironmentMiddleware component that will validate and create azd environment as needed.

  • [x] Removes interactive flow from environment container registration
  • [x] Adds interactive environment registration to middleware after other checks fail
  • [x] Run middleware before hooks middleware to ensure environment is ready
  • [x] Simplifies hooks middleware to expect that environment is already available

Resolves #3920

wbreza avatar May 20 '24 20:05 wbreza