Skip to content

Commit b7bf883

Browse files
committed
feat: deduplicate repeated inline object types in generated output
Splits type generation into a 3-phase pipeline: 1. Collect TypeNodes from all queries 2. Build deduplication registry by fingerprinting object types 3. Generate TS types, replacing duplicates with references Duplicate object types appearing across queries are extracted into shared "Inline"-prefixed type aliases, reducing generated code size and improving readability.
1 parent 24e2348 commit b7bf883

File tree

3 files changed

+273
-266
lines changed

3 files changed

+273
-266
lines changed

0 commit comments

Comments
 (0)