import { merge } from "https://deno.land/x/valibot@v0.8.0/src/methods/index.ts";
Merges multiple object schemas into a single one. Subsequent object schemas overwrite the previous ones.
Parameters
schemas: TObjectSchemas
The schemas to be merged.
optional
pipe: Pipe<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>A validation and transformation pipe.
Returns
An object schema.
Merges multiple object schemas into a single one. Subsequent object schemas overwrite the previous ones.
Parameters
schemas: TObjectSchemas
The schemas to be merged.
optional
pipe: Pipe<ObjectOutput<MergeSchemaObjects<TObjectSchemas>>>A validation and transformation pipe.
Returns
An object schema.