databricks / cli

Databricks CLI
Other
115 stars 39 forks source link

Fix bundle schema for complex variable references #1539

Open shreyas-goenka opened 3 days ago

shreyas-goenka commented 3 days ago

Changes

Tests

shreyas-goenka commented 3 days ago

This method is not great. The test expectations are becoming too big to manage / reason about. This (at least in it's current form) also breaks inline documentation in VSCode.

I'll take another stab at solving this problem. Definiting reusable $refs instead of duplicating the regex for the variable everywhere might help.