view.py icon indicating copy to clipboard operation
view.py copied to clipboard

Route chaining

Open ZeroIntensity opened this issue 2 years ago • 5 comments
trafficstars

Allow chaining of routes, like so:

@get("/")
@query("hello", str)
async def something(hello: str):
    ...

@something.post
@body("a", str)
async def something(hello: str, a: str):
    ...

ZeroIntensity avatar Sep 16 '23 18:09 ZeroIntensity

I would like to work on this project is there any community to discuss?

MihirKohli avatar Sep 20 '23 08:09 MihirKohli

Not yet, we're using just issues as of now. Would something like a discord server be helpful?

ZeroIntensity avatar Sep 20 '23 11:09 ZeroIntensity

Yes discord server would be helpful, your project concept is awesome

MihirKohli avatar Sep 20 '23 11:09 MihirKohli

Ok, will set one up later today, let me know if you have any other questions.

ZeroIntensity avatar Sep 20 '23 11:09 ZeroIntensity

Discord up and running: https://discord.gg/tZAfuWAbm2

ZeroIntensity avatar Sep 21 '23 00:09 ZeroIntensity