Skip to content

Migrate all trains to Junctions() API#29

Merged
Theauxm merged 1 commit intomainfrom
feat/junctions-api
Mar 23, 2026
Merged

Migrate all trains to Junctions() API#29
Theauxm merged 1 commit intomainfrom
feat/junctions-api

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 23, 2026

Summary

  • Convert all 35 sample and template trains from Activate(input).Chain<T>().Resolve() to the new Junctions() override
  • Net reduction of ~90 lines across the samples — no more async, Task, Either, Activate, or Resolve boilerplate

Depends on TraxSharp/Trax.Core#14 and TraxSharp/Trax.Effect#41.

Test plan

  • All sample projects build with zero warnings
  • Existing sample tests pass

Convert every sample and template train from the
Activate/Chain/Resolve pattern to the new Junctions() override.
@Theauxm Theauxm merged commit c9dd4f7 into main Mar 23, 2026
1 of 3 checks passed
@Theauxm Theauxm deleted the feat/junctions-api branch March 23, 2026 18:35
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 23, 2026

This PR is included in version 1.18.0

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