Skip to content

refactor: decompose typegen/typescript module#286

Merged
zharinov merged 1 commit intomasterfrom
refactor/typegen-typescript-decompose
Jan 6, 2026
Merged

refactor: decompose typegen/typescript module#286
zharinov merged 1 commit intomasterfrom
refactor/typegen-typescript-decompose

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 6, 2026

Summary

  • Split typescript.rs (898 lines) into a directory with focused submodules
  • mod.rs is now a thin facade (~25 lines) with re-exports and free functions
  • Implementation split into: config.rs, emitter.rs, naming.rs, analysis.rs, convert.rs, render.rs

Why

Better code organization with clear separation of concerns. Each file now has a single responsibility (configuration, name generation, type analysis, TS conversion, rendering).

@zharinov zharinov enabled auto-merge (squash) January 6, 2026 15:15
@zharinov zharinov merged commit 98aba0b into master Jan 6, 2026
4 checks passed
@zharinov zharinov deleted the refactor/typegen-typescript-decompose branch January 6, 2026 15:16
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.

1 participant