Artiom Neganov

Results 137 issues of Artiom Neganov

Hi! I've recently started to migrate my app on Navi, and I'm getting error: ``` TypeError childMatcher is not a function eval https://f6kbz.csb.app/node_modules/navi/dist/commonjs/matchers/map.js:50:170 Object.eval https://f6kbz.csb.app/node_modules/navi/dist/commonjs/Resolvable.js:59:26 step https://f6kbz.csb.app/node_modules/navi/dist/commonjs/Resolvable.js:24:23 Object.eval [as next]...

I added ` { $schema": "https://json-schema.org/draft/2020-12/schema" }` to my schema and get this message: ``` Draft 2020-12 schemas are not yet fully supported ``` So what URI should I use...

enhancement

Python: 3.8 Typer: 0.3.2 I have an optional **path** option of type _Path_ and I want to assign it a default value: ```python DEFAULT_MEDIA_DIR = Path(".") / "non-existent-dir" def cli(...

bug

Hi there I'm getting a list of warnings from PostgreSQL during the import process. They don't break the import procedure, but it could be a sign of that something goes...

This is my code: ```ts import https from 'https'; import 'global-agent/bootstrap'; // https://docs.aws.amazon.com/general/latest/gr/pol.html const options = { hostname: 'docs.aws.amazon.com', port: 443, path: '/general/latest/gr/pol.html', method: 'GET', }; const req = https.request(options,...

It's a follow-up of this ticket: https://github.com/httptoolkit/mockttp/issues/78 Now it should be possible to hide errors for example: ```ts // Hide other errors server.on('handle-error', () => {}); ``` Still needs works.

I write some tests and I cannot get the proxy gracefully shutdown. My test is very simple: ```ts it('should start the server', async () => { const server = await...

I'd propose to make hostname a RegExp. First, to match things like: `.forHostname(/^.+?\.domain.com/)` Second, to keep up with the URL matchers (`.forGet()`, `.forPost()` etc) which can take `RegExp`. I.e. ```ts...

Currently if you need to match an URL, you have to use one of the method-specific matchers: `forGet()`, `forPost()`, etc. But when you need to match a URL for some...

I'm not quite sure how to connect response with its request? Say I'd like to be able to do: ```ts server.forUnmatchedRequest().thenPassThrough({ beforeRequest: (req) => { console.log('Request:', req.url.substring(0, 80) + '...');...