-
With buns web socket implementation, it's possible to assign custom data to a client that persists as long as the connection is open like so:
```ts
type WebSocketData = {
lastSeen: number;
};
…
-
There is an issue with HTMLRewriter that involves a bugfix in Bun before redo the workaround.
Here is the issue:
- https://github.com/oven-sh/bun/issues/4408
Here is the workaround, is explaine…
-
### What version of Bun is running?
0.8.1+16b4bf341acc0f4804f0b6bdf5298c180cd00366
### What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
### What steps …
-
### Which @angular/* package(s) are the source of the bug?
core
### Is this a regression?
Yes
### Description
The old `@Input` works
The new `input.required()` does not
A bit more c…
sp90 updated
7 months ago
-
This commit [a6bf3d866f6d4c57d21513a0e72c7d423d8cff9a](https://github.com/elysiajs/elysia/commit/a6bf3d866f6d4c57d21513a0e72c7d423d8cff9a) got error:
```
ReferenceError: Can't find variable: k8
…
-
Got rate limit error from viaContentsApi call when execute `npm create hono`
![image](https://github.com/honojs/create-hono/assets/11434728/7d9c6ac7-51d4-47a4-b3f8-a6206d88e8d9)
-
I have a plugin for handle all requests to /votes endpoint:
```ts
export const votes = new Elysia()
.use(voteModel)
.get('/votes', () => voteRepository.getVotes(), {
response: 'votes',
d…
-
Create a package with `elysia` & `check-dts`. Run `bun -b check-dts`.
tsconfig.json
```json
{
"compileOnSave": true,
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "nodene…
-
It would be handy to be able to throw a `Response` and have elysia respond with it.
For example, if an error occurs in `derive` we can throw the error-y response, instead of returning the context (wh…
dodas updated
10 months ago
-
Using the latest version of bun (1.0.21) and elysia, I cannot use the decorators anymore. The following error appears:
```
$ bun build --target bun src/index.ts --outdir ./dist
return allD…