Skip to content

Conversation

@dpouris
Copy link
Owner

@dpouris dpouris commented Mar 18, 2025

Introduce New Context Creation Utility & Enhance Route Handling

This PR makes significant improvements to the request processing and routing mechanisms within Goster. The updates include:

  • A new utility function to standardize context creation from incoming HTTP requests, ensuring that all context-related initializations (such as setting headers and parsing parameters) are handled in a single modular component.

  • Enhanced route handling that now supports robust wildcard matching. This allows developers to define catch-all routes and groups more flexibly while automatically parsing dynamic URL parameters.

  • Introduction and refinement of type definitions across context and routing-related modules. These changes improve code clarity, enforce type safety, and facilitate future middleware integrations.

Together, these changes pave the way for a more flexible, maintainable, and developer-friendly framework.

…ng with wildcard matching, type definitions & more
@dpouris dpouris added the enhancement New feature or request label Mar 18, 2025
@dpouris dpouris self-assigned this Mar 18, 2025
@dpouris dpouris linked an issue Mar 18, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wildcard paths and Route Grouping

2 participants