You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/SaadiSave/zero2prod/blob/main/src/startup.rs
in this file, I feel that putting this trunk of code in Axum runner function is to noisy, makes it hard to read, so I like the idea of leaving the service builder in another function
but making another function has its own problem, how to put the right return type on the function signature?
The text was updated successfully, but these errors were encountered:
https://github.com/SaadiSave/zero2prod/blob/main/src/startup.rs
in this file, I feel that putting this trunk of code in Axum runner function is to noisy, makes it hard to read, so I like the idea of leaving the service builder in another function
but making another function has its own problem, how to put the right return type on the function signature?
The text was updated successfully, but these errors were encountered: