Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What didn't you like about it? Curious where our pain points will be. Only been using it about 6 weeks.


The way it tries to construct the return values kept getting in the way.

I’d define the class, add it as the return value, I was manually instantiating the class and returning that, but for it didn’t like that and would constantly throw errors about it. I think it was PyDantic which was the root cause there.

The Depends functionality refused to inject my classes as well, but I was probably doing something wrong there...

Dropping back to Starlette was good because it gave me everything I needed and got out of my way. I’ve still got everything fully typed and passing MyPy.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: