updated schemas, fixed tests, skipping flow tests for now

This commit is contained in:
dswbx
2025-07-03 14:00:29 +02:00
parent fe1716ed01
commit 5143ee5726
23 changed files with 119 additions and 101 deletions
+1
View File
@@ -68,6 +68,7 @@ export class SchemaObject<Schema extends TSchema = TSchema> {
async set(config: s.Static<Schema>, noEmit?: boolean): Promise<s.Static<Schema>> {
const valid = parse(this._schema, structuredClone(config) as any, {
coerce: false,
forceParse: true,
skipMark: this.isForceParse(),
});
+1 -1
View File
@@ -67,7 +67,7 @@ export function parse<S extends s.Schema, Options extends ParseOptions = ParseOp
});
}
const result = schema.validate(value, {
const result = _schema.validate(value, {
shortCircuit: true,
ignoreUnsupported: true,
});