[PR #1379] [CLOSED] docs: Update Elysia Integration Section #3783

Closed
opened 2026-03-13 11:11:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1379
Author: @hansaskov
Created: 2/7/2025
Status: Closed

Base: mainHead: main


📝 Commits (10+)

  • 4f8f7d5 Improve elysia middleware docs
  • c995131 Also update installation file
  • aca43cc Add additional text to code examples
  • 299a99d add ending text back in
  • 8576234 fix imports in middleware example
  • 234eca0 small text edit
  • 908cd8e Add comment
  • e0fa58b change bottom text
  • 5881f90 Fix formatting
  • d0c1562 More descriptive explanation of custom error handling

📊 Changes

2 files changed (+56 additions, -62 deletions)

View changed files

📝 docs/content/docs/installation.mdx (+6 -12)
📝 docs/content/docs/integrations/elysia.mdx (+50 -50)

📄 Description

I was in the process of adding Better-stack to my Elysia project and would like to improve the better-stack documentation using some of the more powerful features for creating a middleware with Elysia.

Key improvements include

  • Simplified way to mount the handler
  • More powerful middleware for handling requests
  • User and Session are returned without null
  • Three examples for how to use it

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1379 **Author:** [@hansaskov](https://github.com/hansaskov) **Created:** 2/7/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`4f8f7d5`](https://github.com/better-auth/better-auth/commit/4f8f7d5c39a5041b33fb52117068bb74a7f562be) Improve elysia middleware docs - [`c995131`](https://github.com/better-auth/better-auth/commit/c99513166318697ab02d87d6dc9a340147b57d46) Also update installation file - [`aca43cc`](https://github.com/better-auth/better-auth/commit/aca43ccb8638bb82c6bdcf644e682b2636e081dd) Add additional text to code examples - [`299a99d`](https://github.com/better-auth/better-auth/commit/299a99d232697c13f381e89c4f853bb60d3f17b7) add ending text back in - [`8576234`](https://github.com/better-auth/better-auth/commit/85762345451b98cd509fb2b8c0d9df4ef414b122) fix imports in middleware example - [`234eca0`](https://github.com/better-auth/better-auth/commit/234eca0ca739dd40a8a12b01cd3c09a4e7824d77) small text edit - [`908cd8e`](https://github.com/better-auth/better-auth/commit/908cd8e5c2c7e536a57f27d5d0c966279e7cd652) Add comment - [`e0fa58b`](https://github.com/better-auth/better-auth/commit/e0fa58b18c28dd2d1b83ce84866aea425143b390) change bottom text - [`5881f90`](https://github.com/better-auth/better-auth/commit/5881f90b6591a6a5044a39b463fb60b98800e9d3) Fix formatting - [`d0c1562`](https://github.com/better-auth/better-auth/commit/d0c156201540e8ae42e9f6946fbf0f93ea377f68) More descriptive explanation of custom error handling ### 📊 Changes **2 files changed** (+56 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/installation.mdx` (+6 -12) 📝 `docs/content/docs/integrations/elysia.mdx` (+50 -50) </details> ### 📄 Description I was in the process of adding Better-stack to my Elysia project and would like to improve the better-stack documentation using some of the more powerful features for creating a middleware with Elysia. Key improvements include - Simplified way to mount the handler - More powerful middleware for handling requests - User and Session are returned without null - Three examples for how to use it --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:11:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3783