Repository navigation
Conversation
Remove filesystem configuration from struct_to_gts_schema and let the CLI write schemas directly to --output DIR (default ./schemas from cwd). Parse Rust declarations with syn, validate IDs before writes, reject conflicting schemas and output-file symlinks, and migrate examples, documentation, macro fixtures, and Dylint snapshots together. BREAKING CHANGE: dir_path and GTS_SCHEMA_FILE_PATH are removed. Pass the output directory to gts generate-from-rust --output DIR instead. Fixes GlobalTypeSystem#148 Signed-off-by: Aviator 5 <ai.agent.tor@gmail.com>
|
Important Review skippedToo many files! This PR contains 154 files, which is 54 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.
|
code-rankerBuilt on a fork. View full report ↗ rust
|
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
- Skip parsing files without schema declarations and ignore walk errors in excluded directories. - Parse macro arguments directly and write Makefile-generated schemas to target/schemas. - Cover skipped syntax errors, excluded paths, and invalid declarations with regression tests. Signed-off-by: Aviator 5 <ai.agent.tor@gmail.com>
Remove filesystem configuration from struct_to_gts_schema and let the CLI write schemas directly to --output DIR (default ./schemas from cwd). Parse Rust declarations with syn, validate IDs before writes, reject conflicting schemas and output-file symlinks, and migrate examples, documentation, macro fixtures, and Dylint snapshots together.
BREAKING CHANGE: dir_path and GTS_SCHEMA_FILE_PATH are removed. Pass the output directory to gts generate-from-rust --output DIR instead.
Fixes #148