AltimateAI / AltimateAI/vscode-dbt-power-user

"Children models" block empty when model has exposures

Offen
#802 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @svipulrao98 Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
585
Forks
121
Ø Merge
5 T. 39 Min.
Gemergte PRs (30 T.)
4

Beschreibung

### Expected behavior

When a model is opened in VS Code and this model is linked to the exposures, the block "Children Models" shows a list of models (possibly also exposures?)

### Actual behavior

When a model is opened in VS Code and it is linked to the exposure, the block "Children Models" is empty and an error "Cannot read properties of undefined (reading '0')"

### Steps To Reproduce

1. Open dbt repository in VS Code
2. Open model that has exposures in a new tab
3. Open the extension "dbt Power User" in the sidebar
4. extend the tab "children models", if it is hidden

### Log output/Screenshots

![CleanShot 2024-01-03 at 12 47 17@2x](https://github.com/AltimateAI/vscode-dbt-power-user/assets/79406976/23d29cae-2779-45e6-a609-558483cc5d35)

![CleanShot 2024-01-03 at 12 46 26@2x](https://github.com/AltimateAI/vscode-dbt-power-user/assets/79406976/d748aa4c-43a1-4bc2-a121-0aeeb0366eb4)

![CleanShot 2024-01-03 at 12 51 52@2x](https://github.com/AltimateAI/vscode-dbt-power-user/assets/79406976/5b357da2-3a40-4366-bb85-68b8f50c148c)

### Operating System

Mac OS

### dbt version

1.7.4

### dbt Adapter

bigquery

### dbt Power User version

0.28.4

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.