Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.12 KB

File metadata and controls

44 lines (34 loc) · 1.12 KB

Issue #24: Export decorator annotations to SQLite - Already Implemented

Summary

This feature was already implemented in commit af7bcba (PR #20, 2026-02-25) as part of "feat: Add schema enrichment fields to symbol index".

Implementation Details

1. SymbolIndexEntry has decorators field

File: src/cache/mod.rs

pub decorators: String,

2. SQLite nodes table has decorators column

File: src/sqlite_export.rs (line 222)

decorators TEXT DEFAULT '',

3. decorators populated in flush_node_batch()

File: src/sqlite_export.rs (lines 373, 399)

stmt.execute(params![
    // ... other fields ...
    entry.decorators,
    // ... more fields ...
])

4. decorators populated from SymbolInfo

File: src/shard.rs (line 907)

decorators: symbol_info.decorators.join(","),

Conclusion

All requirements from issue #24 are complete:

  • decorators: String field in SymbolIndexEntry
  • decorators TEXT column in nodes table
  • ✅ Populated in flush_node_batch()

The issue description is outdated and the feature is fully functional in the main branch.