Skip to content

Conversation

@izo0x90
Copy link
Contributor

@izo0x90 izo0x90 commented Jan 26, 2025

Refactors routing to allow nested routers for more ergonomic url namespace management, similar to Pythons FastAPI

Additionally bumps deps to match lightbug_http:

  • Mojo version
  • Lightbug_http version

- Refactors routing to allow nested routers for more ergonomic url
  namespace management, similar to Pythons FastAPI

- Add structured query parameter definition and query parsing/ coercing
  allowing for structured query parameters processing in route handlers
@izo0x90
Copy link
Contributor Author

izo0x90 commented Jan 26, 2025

@saviorand Here is the PR with only the nested routing changes added to the API lib., as it relates to #9 (comment)

Also many apologies for blowing up your github notifications today 😬 (just wanted to get to these while I had time this weekend)

@izo0x90
Copy link
Contributor Author

izo0x90 commented Jan 28, 2025

@saviorand this one should be ready to go, fixed the unneeded imports ... so we can get nested routing into the api lib 😄

@saviorand saviorand merged commit d032f92 into Lightbug-HQ:main Jan 29, 2025
2 checks passed
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.

2 participants