Skip to content

refactor(schema)!: conform to the effect-tsgo 0.54 lint rules - #2

Merged
systemfsoftware-bot merged 1 commit into
mainfrom
port/effect-tsgo-054
Oct 29, 2026
Merged

systemfsoftware-bot merged 1 commit into
mainfrom
port/effect-tsgo-054

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor

Ports the packages/discern slice of systemfsoftware/systemfsoftware#874 on top of the merged discern#1. Schema.Class, TaggedClass and TaggedError gain a { readonly brand: unique symbol } second type argument, InvokeRead types its read part as the class's fields without the brand, and flat-map-to-tap and sleep-zero-to-yield-now rewrites apply. No changesets in this repo.

Checked locally: typecheck, lint, vitest (298 passed), tstyche, build with api-extractor, dprint.

https://claude.ai/code/session_017rX35xUAHEjVVaDKVVzubW

Adds { readonly brand: unique symbol } as the second type argument of
Schema.Class, TaggedClass and TaggedError, types InvokeRead's read part as the
class's fields without the brand, and rewrites flat-map-to-tap and
sleep-zero-to-yield-now. None of it needs tsgo 0.54 to compile.

Ported from the packages/discern slice of systemfsoftware/systemfsoftware#874.

Claude-Session: https://claude.ai/code/session_017rX35xUAHEjVVaDKVVzubW
@systemfsoftware-bot
systemfsoftware-bot merged commit e701109 into main Oct 29, 2026
11 checks passed
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