antoine beauᵛᵃᴵˢ⁻lacᵃˢˢᵉ

Results 7 comments of antoine beauᵛᵃᴵˢ⁻lacᵃˢˢᵉ

Having this issue also – a 3rd party library is using `__()` with strings containing `:`, with updateFiles on this leads to really strange entries in the locale files. Making...

I was having the same problem with union types, but I had some success by trying defining the output of the union using the other interfaces. `union()` is variadic and...

Without the `return` you added in the `if` block, it falls through and `next()` is called. That next middleware (most likely the default error handler, but it depends on your...

File URLs are not supported by the version of `cget` this is dependent on, unfortunately. I've started [a fork](https://github.com/beaulac/cxsd) that upgrades `cget` to the latest version (0.2.1), which supports `file://`...

@samtstern See above, here's a way to make this happen now: 1. `npm install beaulac/cxsd#master` 2. `./node_modules/.bin/cxsd file://${path_to_xsd}` Let me know if you have any issues 😄

@nicojs, try: ```shell $ npx beaulac/cxsd "file://my-schema.xsd" Unhandled rejection Error: ENOENT: no such file or directory, stat 'my-schema.xsd/' ```

For anyone else looking to ~~kludge~~ achieve this now, using [patch-package](https://www.npmjs.com/package/patch-package): `patches/zod-prisma-types+3.2.4.patch`: ``` diff --git a/node_modules/zod-prisma-types/dist/classes/fileWriter.js b/node_modules/zod-prisma-types/dist/classes/fileWriter.js index b463964..b637392 100644 --- a/node_modules/zod-prisma-types/dist/classes/fileWriter.js +++ b/node_modules/zod-prisma-types/dist/classes/fileWriter.js @@ -39,6 +39,9 @@ class FileWriter...