denoland / denoland/deno_graph

Ability to walk the graph and tell when a module resolution error occurs due to a dynamic import

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
137
Forks
47
Avg merge
2d 7h
Merged PRs (30d)
4

Description

We need a way to use `.walk` and tell if an error is for a dynamic import that's also not imported via a regular import.

Also, this seems slightly wrong:

https://github.com/denoland/deno_graph/blob/9dbc98a1393a22fd10138f82b64eb7c1de0da1a8/src/graph.rs#L1090C33-L1094

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `.walk` API and the referenced logic in `src/graph.rs` around lines 1090-1094. Determine how module-resolution errors are represented and how to distinguish a dynamic import that is not also reached through a regular import. Done means callers walking the graph can reliably identify that case and the referenced behavior is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.