Martti T.
Martti T.
closing at the moment
You really should not use `v5`. Anyway, `WrapMiddleware` behaves the same in `v4`. I think this is misunderstanding how Echo middlewares are executed and how errors are "bubbled up" in...
Similarly ```go e.GET("/", func(c Context) error { return c.JSON(http.StatusBadRequest, "nope") }) ``` will not trigger error handling as it not an error.
```go e.GET("/ping", func(c echo.Context) error { c.Response().Flush() return c.String(http.StatusOK, "pong") }) ``` Is not very good example. Or lets rephrase that - this shows that Timeout middleware has problems with...
NB: you should avoid using Timeout middleware. In its basic form it just sends the response to the client and potentially does not end your handler goroutine if you have...
I'll create PR for https://github.com/labstack/echo/issues/2592#issuecomment-1939599287 changes ------------ @qerdcv in you example you are using `middleware.TimeoutWithConfig` this uses goroutine to serve your request. Maybe you wanted to use `middleware.ContextTimeout()` ? *...
done in https://github.com/labstack/echo/pull/2595
closing, website was moved build by https://docusaurus.io/
I have not tested this with Kimai, but maybe adding https://github.com/kimai/kimai/blob/12ef19df28fd9bf2bf4a849664bea681c2fe55fd/assets/js/forms/KimaiFormSelect.js#L73 [`sortField`](https://tom-select.js.org/docs/#sortfield) to options would help getting displayed list ordered. p.s. dunno if I even linked correct place. I have...
Sorry, I totally forgot. It is now merged and I tagged a new release for it `v0.13.1`