quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

Many warnings in multiFileOutput

Open relet opened this issue 2 years ago • 2 comments

Would it be acceptable to filter them, or is that hiding important information?

if (this._finishedFiles.has(filename) && !this._options.multiFileOutput) {

instead of

https://github.com/glideapps/quicktype/blob/55dc6a7912715b7db45419958bf89d00637cd4cd/packages/quicktype-core/src/Renderer.ts#L308

relet avatar Nov 08 '23 08:11 relet

Hi @relet , could you provide some context on what specific warnings you are seeing ?

inferrinizzard avatar May 22 '24 14:05 inferrinizzard

The warning mentioned in the code

            `[WARNING] Tried to emit file ${filename} more than once. If performing multi-file output this warning can be safely ignored.`

I don't remember exactly what I was seeing, but if you explicitly select multi-file output, it would be sufficient to show it once (if there really is anything to warn about) or suppress it if it can be ignored.

relet avatar May 22 '24 14:05 relet