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
We have an interceptor that appends headers to the request based on dynamic values, and we would like to unit test this interceptor. Currently we are unable to do so because the Request class (and Response) do not override == and hashCode. This means that even though the two objects, expected and actual have the same fields, the tests fail because they are different instances. Would it be possible to include this in a future release (the equatable package might help) so that users of the library are able to test their code? Thanks
The text was updated successfully, but these errors were encountered:
We have an interceptor that appends headers to the request based on dynamic values, and we would like to unit test this interceptor. Currently we are unable to do so because the Request class (and Response) do not override == and hashCode. This means that even though the two objects, expected and actual have the same fields, the tests fail because they are different instances. Would it be possible to include this in a future release (the equatable package might help) so that users of the library are able to test their code? Thanks
The text was updated successfully, but these errors were encountered: