Skip to content

feat(graph): add FastAPI route resolver - #113

Open
sidsri14 wants to merge 1 commit into
mex-memory:mainfrom
sidsri14:agent/fastapi-route-resolver
Open

feat(graph): add FastAPI route resolver#113
sidsri14 wants to merge 1 commit into
mex-memory:mainfrom
sidsri14:agent/fastapi-route-resolver

Conversation

@sidsri14

@sidsri14 sidsri14 commented Aug 3, 2026

Copy link
Copy Markdown

Summary

  • detect FastAPI from pyproject.toml and requirements files
  • extract stable route nodes for literal FastAPI and APIRouter decorators across the supported HTTP methods
  • resolve route references only to unambiguous same-file Python functions or methods
  • add a fixture and focused coverage for detection, extraction, registration, successful resolution, and unresolved edge cases

Closes #111

Validation

  • npm run typecheck
  • vitest run src/graph/__tests__/resolver-fastapi.test.ts (9 passed)
  • npm run build
  • full Vitest run: 377 passed; the remaining Windows-only failures reproduce on main and are caused by symlink permissions plus SQLite temporary-file locking

@sidsri14
sidsri14 marked this pull request as ready for review August 3, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FastAPI] Add route resolver

1 participant