Sleep_AllDay

Results 19 comments of Sleep_AllDay

Any updates on this?

Is anyone working on this? I'd like to implement this if not.

Thanks for the opportunity! I improved the error message from ``` error[E0277]: the trait bound `(StatusCode, Json, AppendHeaders): IntoResponse` is not satisfied --> tests/debug_handler/fail/wrong_return_tuple_type.rs:5:23 | 5 | async fn handler()...

I was having the same thought when writing it, but I'm not sure what types should always be placed at last.So I added a //todo where the logic should be...

Added special checks for known types that implements IntoResponse but not IntoResponseParts, but it only checks for Json and String now , the list can be extended. Also opened a...

Sorry this is my first time doing a pull request. Should I request a specific reviewer, or just leave it like that?

> request.headers = {'Authorization':'foo:bar'}; It's a final parameter, so you can't reassign it. > request.headers({'Authorization':'foo:bar'}); There's no such format in dart. Users should at least know how to write dart,...

@kevmoo yes, it works fine in other cases. It only happens when enums are used as json keys and is annotated with int values. It's an edgy case that might...