Generated JSON is expanded into thousands of `Variable` nodes
Severity: low (workaround exists) — but the default is wasteful.
Three generated OpenAPI contracts produced 4 589 Variable nodes ($ref, $id, …)
and ~28 700 edges, while yielding zero Route nodes. Workaround: .cbmignore.
Ask: index large generated JSON as a single File/Contract node; for OpenAPI
specifically, extract paths into Route nodes instead of exploding every key.
Observed on v0.10.8 (build 996bad5fe6fb), macOS arm64, Python monorepo (~36k nodes / ~179k edges). Happy to provide a minimal reproduction repo if useful.
Thank you for the generated OpenAPI node/edge counts. Contract-level representation and route extraction are distinct behavior choices that need a maintainer decision; no JSON indexing default has been changed or approved here.
Thank you for the generated OpenAPI size measurements. Contract-level representation and route extraction still need a maintainer direction decision. Sorry for the delay; I’ll follow up soon.