-
Hi,
It looks like the path parsing is not working like express or fastify (although the documentation points to them as reference: https://elysiajs.com/concept/route.html)
For example, when usin…
Sewdn updated
9 months ago
-
Why isn't it available in onError middleware? Is it the logger or Elysia problem? Could you maybe give an advice on how to handle errors globally?
Version: **0.0.6**
Property 'log' does …
-
**package.json**
```json
"@sinclair/typebox": "^0.31.1",
```
**Desribe**
```ts
export const getBannersFilter = t.Composite([
pagingFilterSchema,
t. Object({
visible: t.Optional(
…
-
I have multipal type error in ```node_modules/elysia/dist/index.d.ts```
after i fix the type errors in ```node_modules/elysia/dist/index.d.ts``` there it was fixed
- all the errors are kind of like …
-
When using an async plugin with a derive function, it does not register correctly, a `TypeError` is thrown:
```ts
import { sleep } from 'bun'
it('handle async plugin', async () => {
const a …
-
When sending an invalid web socket message i got this error
```sh
error: send requires a non-empty message
at message (/home/syler/github/socket-test/server/node_modules/elysia/dist/ws/inde…
-
How does one, for example, include the type for `jwt` or other plugins in request context?
-
My code looks something like this
```
import { cors } from '@elysiajs/cors'
const app = new Elysia()
.use(cors())
app.get('/hello', () => {
console.log("well well well")
const c…
-
I tried the following code:
```js
import { Elysia, t } from "elysia";
const app = new Elysia()
.post("/", async ({ body: { data } }) => data, {
body: t.Object({
data: t.File({ ma…
-
### Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the bug has not already been reported
### Versions
@elysiajs/html@0.7.3, I …