AltimateAI / AltimateAI/vscode-dbt-power-user

"Children models" block empty when model has exposures

Đang mở
#802 0 bình luận 0 reaction 1 người được giao Được @svipulrao98 nhận Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
585
Fork
121
Merge trung bình
5 ngày 39 phút
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.