Frédéric Woelffel

Results 10 comments of Frédéric Woelffel

I might be late for this but why don't you use the `SchemaObject` interface to document your responses? ```ts @ApiForbiddenResponse({ schema: { anyOf: refs([ UnauthorizedTokenException, InsufficientRolesException ]) } }) ```

> @fwoelffel > Hi > I came in while Googleing because I needed a multiple response from swagger. > The multi error response you have attached is resolved, but it...

> @fwoelffel > Yes, I tried. > However, refs require function array type and my UserOrerInfoDto is Class type, so type error occured. > Could you share your `UserOrderInfoDto` implementation?...

@DavidTimms Could you consider merging this?

Having partial records when the keys are a literal union is by design. It reflects the way zod parses the records : it does not make sure that every value...

@colinhacks any thoughts about this?

This is an example of how I deal with it: ```js class Foo { constructor(args) { this._settings = args.settings; this._bar = args.bar } } module.exports['@require'] = [ 'config/settings', 'components/bar' ]...

This is because the `IoC.create()` function returns a Promise. The Electrolyte documentation is a bit outdated. You could try the following: ```js IoC .create('handlers/list') .then((handler) => { this.get('/', handler); });...

@DavidTimms up