AltimateAI / AltimateAI/vscode-dbt-power-user

"Children models" block empty when model has exposures

オープン
#802 コメント 0 件 リアクション 0 件 担当者 1 名 @svipulrao98 が担当を希望しています GitHub で見る
bug
主要言語
JavaScript
スター
585
フォーク
121
平均マージ
5日 39分
マージ済み PR(30日)
4

説明

### 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!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。