Rodion Mostovoi
Rodion Mostovoi
> I've done a very similar thing in my own code. I haven't added it to AsyncEx yet because there's no template (e.g., T4) support when targeting modern platforms. Historically,...
@wuseal I'm sorry, at the moment I don't have time to explore your existed api and continue working on module improvements JsonSchema -> Kotlin class. In my roadmap come back...
> Hi, @rodion-m #148 has been merged, now can you help to finish this design base on current code struct? > Now we have similar data struct like DataClasst, KotilnClass,...
Hello @kezhenxu94 and @wuseal ! It's good idea to migrate to code generator, I think it's a right way. Also I want to suggest an improvement to give you an...
Hi @officialFlutterDeveloper ! Thank you for contributing. Sorry for late response. > Also I was testing cancel token and if token is cancel it still retry is there a way...
Hi @HugoHeneault ! Thank you for contributing. No, it's not supported at the moment. But it's possible to disable retry manually for each request: ```dart final request = RequestOptions(path: '/')..disableRetry...
If it's still relevant I can suggest to use an extra interceptor that will modify request options and explicitly set `disableRetry` option to true.
Another simple way is to add your own retry evaluator. Here is a full example: ``` dart final dio = Dio(); FutureOr myRetryEvaluator(DioError error, int attempt) { if(error.requestOptions.extra['enableRetry'] == false)...
@JakeWharton Please notice that suspend ...: List also is not supported. Version: 2.6.0-SNAPSHOT For instance: `suspend fun fetchStrings(): List`
Here is a new package for retry with Dio. It supports dio 4.0 and null safety: https://pub.dev/packages/dio_smart_retry ``` This is a next generation of an abandoned dio_retry package. By default,...