aio-libs / aio-libs/aiohttp

Dynamic non-frozen router

Abierto
#6,792 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Python
Estrellas
16.5k
Forks
2.4k
Merge medio
17 h 22 min
PR fusionados (30 d)
212

Descripción

### Is your feature request related to a problem?

Hi,

I'm using aiohttp-swagger3 for building of an api interface for the app. Unfortunately I'm not able to change router after application is started. I.e. del_route() not available, add_route() after not working tried also app.router._frozen = False/True. What problems can dynamic configuration cause? I've used such configurations in Tornado long ago and it works fine.

### Describe the solution you'd like

Dynamic router

### Describe alternatives you've considered

Dynamic router

### Related component

Server

### Additional context

_No response_

### Code of Conduct

- [X] I agree to follow the aio-libs Code of Conduct

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.