Martin Adámek

Results 768 comments of Martin Adámek

Btw you can easily implement this yourself, even for v2, something like this: ```js export async function getInput() { if (fs.existsSync(process.cwd() + '/INPUT.json')) { return require(process.cwd() + '/INPUT.json'); } return...

Is this addressing some actual bug report? Crawlee uses the implementation from https://github.com/apify/apify-shared-js/tree/master/packages/pseudo_url, if its breaking, we could add it there and ship major and use that in Crawlee. I'd...

#1423 adds configurability for the session pool: ```ts const crawler = new CheerioCrawler({ sessionPoolOptions: { blockedStatusCodes: [[401, 403, 429, 500] }, // ... }); ``` will be available in crawlee...

You can already set the blocked status code via `sessionPoolOptions` in crawlee: ``` sessionPoolOptions: { blockedStatusCodes: [401, 403, 429, 500] } ```

> No one should be able access a singleton instance of EntityManager except for the Mikro module itself. In v5 there will be a validation for working with the global...

> somehow, i completely missed the ALS announcement in v14, looks neat but may impact performance at scale (probably not a concern for most projects) ALS is actually very fast,...

I mean you can't flush in parallel (for that you need forks with their own UoW instance), for reading it should be fine.

I have no idea what you are trying to propose here, could you start with the motivation and examples of when this is needed (and what it solves)? I saw...

> hardly fastify knows about toJSON This is not about frameworks, the fact that you are sending the response as JSON is enough as there will be `JSON.stringify` call -...

> it does not call JSON.stringify anywhere It (fastify) definitely does call it (see https://github.com/fastify/fastify/blob/main/lib/schema-compilers.js and https://github.com/fastify/fast-json-stringify/blob/master/index.js#L900-L905, it uses its own helper to do this, but it works the very...