lejard-h / chopper

Chopper is an http client generator using source_gen and inspired from Retrofit.
https://hadrien-lejard.gitbook.io/chopper
Other
714 stars 123 forks source link

Why choose it ofer retrofit? #633

Closed adrianvintu closed 3 months ago

adrianvintu commented 3 months ago

The documentation says: Chopper is an http client generator for Dart and Flutter using source_gen and inspired by Retrofit.

Can you make a table or some examples describing why we should choose copper over retrofit?

techouse commented 3 months ago

Can you make a table or some examples describing why we should choose copper over retrofit?

Err because https://github.com/square/retrofit is an Android package and this is a Flutter package.

adrianvintu commented 3 months ago

https://pub.dev/packages/retrofit

Looks like they inspired from you guys.

Would be nice to have a comparison.

techouse commented 3 months ago

Would be nice to have a comparison.

Not sure what the purpose of that would be 🤷, however, right off the bat you can see that the main difference is that https://pub.dev/packages/retrofit depends on https://pub.dev/packages/dio whereas this package depends on https://pub.dev/packages/http.

adrianvintu commented 3 months ago

Interesting, that is one deal breaker for us.

Would be great to know more differences, so people could choose the package they want, according to their needs.

techouse commented 3 months ago

We open source package maintainers should focus our limited time on developing features and fixing bugs.

With the abundance of options available on https://pub.dev people should always do their own research and decide what they want.

adrianvintu commented 3 months ago

Open source package maintainers decide on their own where they spend their limited time.

Some do only dev, some doc, some answer questions, some provide help.

Each developer is unique.

Also, developers do not tell other people what they should do with their time. It's highly unpolite.