You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Migrate to ReScript 12 new build system
Replace rescript-legacy with the new rescript build system across all
packages. Rename deprecated rescript.json fields to the new format:
bs-dependencies -> dependencies, bsc-flags -> compiler-flags.
Remove unused version field from rescript.json (now rejected by new
build system) and prune unused @rescript/react dep from test_codegen.
https://claude.ai/code/session_01L49r1QXcBnnkymvLrDEowh
* Add rescript-schema to init template deps
The new ReScript build system requires packages declared in
rescript.json dependencies to be directly installed in the project's
node_modules. Without this, upward traversal fails to find
rescript-schema when running the init template build in CI.
https://claude.ai/code/session_01L49r1QXcBnnkymvLrDEowh
* Drop rescript-schema from user-facing indexer codegen
The Fuel codegen emitted typeXSchema definitions alongside type
declarations, but nothing consumed them: fuel param schemas are
resolved at runtime via Internal.fuelSupplyParamsSchema /
fuelTransferParamsSchema or raw JSON passthrough for logData. Removing
the dead schema generation lets us drop 'open RescriptSchema' from the
generated Indexer.res entirely, which in turn removes rescript-schema
from user project dependencies.
https://claude.ai/code/session_01L49r1QXcBnnkymvLrDEowh
* Remove dead Rust schema codegen machinery
After dropping rescript-schema generation from Indexer.res, the
to_rescript_schema impls on TypeDeclMulti, TypeDecl, TypeExpr and
TypeIdent had no remaining call sites. The schema_code field on
EntityRecordTypeTemplate and res_schema_code on field_types::Field
were also set but never read.
Removes the entire to_rescript_schema family, the SchemaMode enum,
the dependencies() helpers (only used for schema topo-sort), and
the now-unused fields and tests.
https://claude.ai/code/session_01L49r1QXcBnnkymvLrDEowh
* Remove further dead schema-codegen leftovers
SelectedFieldTemplate carried a default_value_rescript field that was
populated but never read (no callers, no template reference).
Utils.BigInt.nativeSchema only existed to back SchemaMode::ForFieldSelection
in the Rust codegen, which is gone — drop it too.
https://claude.ai/code/session_01L49r1QXcBnnkymvLrDEowh
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/cli/src/hbs_templating/snapshots/envio__hbs_templating__codegen_templates__test__indexer_code_generates_correct_types_and_values.snap
Copy file name to clipboardExpand all lines: packages/cli/src/hbs_templating/snapshots/envio__hbs_templating__codegen_templates__test__indexer_code_multiple_chains.snap
0 commit comments