i think it make more sense to use result type of Result when using inject macro, as some service might fail to initialize, ex api service need to check whether the endpoint is accessible or not.
Edit : just read on how inject macro work and it turns out it just create InejctBuilder Instance so i can work around with that. but having it with inject macro might be useful imo
i think it make more sense to use result type of Result when using inject macro, as some service might fail to initialize, ex api service need to check whether the endpoint is accessible or not.
Edit : just read on how
injectmacro work and it turns out it just createInejctBuilderInstance so i can work around with that. but having it with inject macro might be useful imo