Skip to content

docs: README.md still uses File {path:} pattern #303

@egouilliard-leyton

Description

@egouilliard-leyton

Context

Discovered during review of #272 fix. The README was explicitly out-of-scope for that issue (only template/command files were listed).

Description

README.md line 233 still shows:

MATCH (:File {path:\$start})-[:IMPORTS*1..3]->(d:File)

Since #263 landed, id is the primary key for File nodes. This query works (path is indexed) but doesn't demonstrate the canonical access pattern.

Suggested approach

Update to use id-based lookup, or add a comment noting that path is intentional here since it's user-facing example code where users supply paths, not ids.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions