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