Patrick Brunmayr

Results 5 issues of Patrick Brunmayr

Hello I have a question regarding arrays. Given following simple example ```typescript const myObjSchema = z.object({ name: z.string(), }); const arrayOfMyObj = z.array(myObjSchema).min(1).max(2); ``` What i wanna do is kind...

Hello Given this simple example ```typescript fetch.on("message", (message: ImapMessage): void => { message.once("attributes", (attrs) => { console.log("attributes"); }); message.once("body", (stream: Source): void => { console.log("attributes"); }); }); ``` we have...

Following schema definition ```typescript const dataSourceSchema = registry.register( "DataSource", z .object({ urn: z.custom().openapi({ description: "A unique URN for this datasource.", }), uri: z.string().openapi({ description: "A URI where this data originated...

Hello follwing json ```json { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "logLevel": { "$ref": "#/$defs/logLevel" } }, "required": ["logLevel"], "$defs": { "logLevel": { "type": "string", "description": "The log level for...

bug
pull request welcome

After I have received the first file I would like to stop busboy and not process any other field or file. Is there a manual way how to do it?...

question