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
@II11II http_interceptor is only an interceptor for Dart's http library which is supported in Alice. Why should I add support for library which simply intercepts requests/responses rather than sending it? Alice provides support for libraries which are http clients.
P.s. I've seen an example and it violates SOLID principles (No DI for http library)
This is example app which shows how to use Alice in the easiest way. There's no purpose of architecting example app with SOLID principles since it's only showcase of features.
@II11II http_interceptor is only an interceptor for Dart's http library which is supported in Alice. Why should I add support for library which simply intercepts requests/responses rather than sending it? Alice provides support for libraries which are http clients.
P.s. I've seen an example and it violates SOLID principles (No DI for http library)
This is example app which shows how to use Alice in the easiest way. There's no purpose of architecting example app with SOLID principles since it's only showcase of features.
Can you add a method onHttpBaseRequest(BaseRequest request,{dynamic body}) ?
BaseRequest is class in HTTP library.
And give please access to fill your AliceHttpRequest class creating method in the Alice class
There is a popular interceptor for http library https://github.com/CodingAleCR/http_interceptor
Please add a feature to intercept requests with http_interceptor library.
P.s. I've seen an example and it violates SOLID principles (No DI for http library)
The text was updated successfully, but these errors were encountered: