MCPcopy Create free account
hub / github.com/Effect-TS/effect / Row

Class Row

packages/effect/test/schema/Schema.test.ts:7384–7384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7382
7383 it("make preserves Class instances in Array(Class) and Array(Union(Class))", () => {
7384 class Row extends Schema.Class<Row>("Row")({ value: Schema.String }) {}
7385 class DirectTable extends Schema.Class<DirectTable>("DirectTable")({ rows: Schema.Array(Row) }) {}
7386 class UnionTable extends Schema.Class<UnionTable>("UnionTable")({ rows: Schema.Array(Schema.Union([Row])) }) {}
7387 const row = Row.make({ value: "a" })

Callers 10

Keyed.test.tsFile · 0.50
Child.test.tsFile · 0.50
Runtime.test.tsFile · 0.50
makeAppFunction · 0.50
makeListFunction · 0.50
rowsFunction · 0.50
HtmlServer.test.tsFile · 0.50
shellFunction · 0.50

Calls

no outgoing calls

Tested by 4

makeAppFunction · 0.40
makeListFunction · 0.40
rowsFunction · 0.40
shellFunction · 0.40