Denis Pshenov

Results 20 comments of Denis Pshenov

I've never been a fan of indenting chains however this especially applies to promises because their whole nature is to represent async code in linear style. For me, first problem...

> We will be scheduling work on this issue in an upcoming sprint @jhoward1994 any update on this? We are facing this issue as well.

> Let me know, and we can create a friendlier wrapper around this. @fwang I would love to have this as well. We are building a step functions heavy application...

The thing that fixed this for us was waiting for the write stream to close after calling `archive.finalize()`. ``` await archive.finalize(); await new Promise((resolve, reject) => { output.on("close", resolve); output.on("error",...

@colinhacks I have the exact same use case, translating "hardcoded" messages. ``` z.setErrorMap((issue, ctx) => { if (!issue.message) { return ctx.defaultError; } return { message: i18n._(issue.message), }; }); ``` Unfortunately,...

Having spent many years with Angular (and loving most of it), I've recently used Vue on a medium-sized project and then React on another similar project. Let me tell you...

As a temporary workaround, we moved `@aws-sdk/*` from `devDependencies` to production `dependencies` and added ``` custom: webpack: excludeRegex: 'node_modules/@aws-sdk' ``` We also added the packages we are using from the...

This should be reopened as it was solved only for portable editor, but not for string and text field inputs.

@long2ice Could it be because meilisync maintains its own progress instead of advancing progress position with `pg_replication_slot_advance`? I could not understand the reason for progress file/redis if Postgres provides this...

We also need this because we do something like this: ``` throw new Error("Request failed", { cause: { request } }); ``` Which is completely valid and useful. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause