malloydata / malloy-vscode-extension

The Malloy Visual Studio Code extension facilitates building Malloy data models, querying and transforming data, and creating simple visualizations and dashboards
http://www.malloydata.dev
MIT License
13 stars 12 forks source link

Error in notebook remains even though query works #477

Open bporterfield opened 3 months ago

bporterfield commented 3 months ago

What happens?

Often seeing issue where I make a change to a .malloy file that results in an error, the malloynb file that imports it shows the error, but then once the error is resolved in the .malloy file, the error remains in the .malloynb file even though the queries work fine.

Screenshot 2024-07-11 at 10 02 04 AM

This query works fine and renders results, but the error will not go away.

To Reproduce

Create malloy model, import into malloynb, create query in malloynb that uses model, create error in model file, see that error appears in malloynb file, resolve error in model file, error still exists in malloynb file.

OS:

macOS

Malloy Client:

local VSCode

Malloy Client Version:

latest

Database Connection:

Postgres