Metakit / @doeixd/metakit/domain

Text

namespace · packages/metakit/src/domain/text.ts:8

export * as Text from './domain/text.js'

Text that holds no NUL character (U+0000), which Postgres cannot store and every text and equality operation refuses. A field of Text.schema is one the checker and the solver know no operation refuses for a NUL, so a rule over it can be proved; partial evaluation folds a strict call beside a known null over it.

In the guides

Members

Text.schema

const · packages/metakit/src/domain/text.ts:12

const schema: Schema.String

Schema.String refusing text that holds a NUL, with @doeixd/metakit/domain metadata { kind: 'text' }.