OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.94k stars 6.59k forks source link

[BUG][dart-dio] Avoid depending on `Equatable` implementation files #20158

Open LukasMirbt opened 21 hours ago

LukasMirbt commented 21 hours ago

Bug Report Checklist

Description

With equalityCheckMethod: equatable, an implementation file (package:equatable/src/equatable_utils.dart) is imported and the internal equals and mapPropsToHashCode functions are used.

equals was recently removed in Equatable v2.0.6 and then reverted in v2.0.7.

Suggest a fix

Would it be possible to use Equatable through the public interface instead of depending on internal code that may break again in the future?