Peter Schutt

Results 174 comments of Peter Schutt

Closed in 55f590703823acfaed252d3b37610e690423b57d

Given that it is pretty easy for a user to write a small convenience dependency to do the same, e.g.,: ```python @get("/") def using_the_cache(cache: Cache) -> ...: ... def provide_cache(request:...

Idea purely inspired by this issue, so I don't really have any thoughts beyond that, but I'm sure there would be a few different things that can be accessed through...

Shall we make a new issue, or hijack this one?

> First I tried changing the scope path as advised by @peterschutt here. In that case OP was trying to mount another `Starlite` application instance that didn't have routes registered...

@dantownsend this is what I've been experimenting with: https://github.com/peterschutt/starlite-hello-world/tree/piccolo-admin There's some instruction in `app/main.py` to get it running. Running the starlite app, it will serve the root page, but all...

Great stuff @sinisaos - I'll have a closer look when I get a chance and work out a plan of attack. I think the key thing that the starlette router...

Great stuff, @sinisaos. I still think Starlite should have a better way to mount an asgi app such as `create_admin` without all the extra stuff you've had to do here...

Thanks for helping to grow the Starlite community @sinisaos!