Minor Changes
-
c001a43: Add the
sqlTaggedRowTypeToSqlSchemadiagnostic (off by default, Effect v4). It flags Effect'ssqltagged template when it is given an explicit row type, which only asserts the row shape, and suggestsSqlSchemawith aResultSchema so rows are decoded at runtime.const [existing] = yield* sql<CommandRow>`SELECT command_id, fingerprint FROM commands WHERE key_hash = ${keyHash}` // Suggested instead: const findByKey = SqlSchema.findOne({ Request: Schema.String, Result: CommandRow, execute: (key) => sql`SELECT command_id, fingerprint FROM commands WHERE key_hash = ${key}` })
Patch Changes
- b1e2dc1: Update the TypeScript next tag to
typescript@next, which shipstypescript-gocommite0fce98eec043375c0d9cf5906542e7922570237, update the TypeScript beta tag totypescript@beta, and update the TypeScript latest tag totypescript@latest.