Matthias Keckl

Results 21 comments of Matthias Keckl

You forgot to `await` the register of `fastifyOverview`. See in the docs: https://github.com/Eomm/fastify-overview/blob/17fd92644283c5e2c538acb045088cf247b83507/README.md?plain=1#L50-L58

I don't get an error with the provided code snippet. Can you provide a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)?

@nasraldin @Eomm I now had the time to take a closer look at the problem and I have found the cause. The cause of this error is the `wrapRegister` method...

@Eomm While I was analysing the issue, I found another problem. If you run `npm run load` in my [example project](https://github.com/matthyk/fastify-overview-issue-98) you get the following overview output. ```json { "id":...

If `stack.map(c => c.getFileName())` is run on the array on which this filter method is then executed, you get this output. ```json [ "/Users/.../fastify-overview-issue-98/node_modules/fastify-overview/index.js", "/Users/.../fastify-overview-issue-98/node_modules/fastify/lib/pluginOverride.js", "/Users/.../fastify-overview-issue-98/node_modules/avvio/boot.js", "node:internal/process/task_queues" ] ``` The...

I can no longer reproduce this output. it seems that I had some strange side effects 😄

@Eomm I have opened #105 to discuss a possible solution. But if you look at the failed tests, you can also see another problem. As soon as you use ECMAScript...

I've been looking for a solution for some time now, but haven't found one yet. But maybe we should solve the problem with the sources separately from the issues with...