Skip to content

Conversation

@brianjor
Copy link
Owner

Closes: #262

@brianjor
Copy link
Owner Author

brianjor commented Mar 22, 2024

Seems there are some bugs in Eden Treaty typescript types. Check again on a version greater than:

  • "@elysiajs/eden": "^1.0.14",
  • "elysia": "^1.0.23"

@brianjor brianjor marked this pull request as draft March 30, 2024 04:26
@brianjor
Copy link
Owner Author

brianjor commented Apr 8, 2024

Tracking: elysiajs/eden#71

@brianjor brianjor changed the title Updated Elysia to 1.0 Update Elysia to 1.0 Apr 8, 2024
export const requestUserHooks = new Elysia({
name: 'hooks:getRequestUser',
}).derive((context) => ({
}).derive({ as: 'global' }, (context) => ({
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should double check that this is the correct way to do this.

})
.use(requestUserHooks)
.derive((context) => {
.derive({ as: 'global' }, (context) => {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should double check that this is the correct way to do this.

@brianjor brianjor marked this pull request as ready for review May 6, 2025 04:25
@brianjor brianjor changed the title Update Elysia to 1.0 Update Elysia to 1.3 May 6, 2025
@brianjor brianjor merged commit 11d284f into main May 6, 2025
1 check passed
@brianjor brianjor deleted the 262-elysia-1 branch May 6, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Elysia to 1.0

2 participants