Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: toString implementation on NetworkResponse #18

Closed
wants to merge 1 commit into from

Conversation

btrautmann
Copy link
Contributor

📰 Summary of changes

What is the new functionality added in this PR?

This PR adds package:equatable and makes use of it for simple toString implementations on our NetworkResponse models.

This is necessary because we no longer use package:freezed for these. I considered removing freezed entirely, but figured it was best to keep this PR isolated.

🧪 Testing done

What testing was added to cover the functionality added in this PR

Added test to ensure the toString implementation of at least one model remains present.

@btrautmann btrautmann requested review from a team as code owners October 30, 2024 18:22
@btrautmann btrautmann requested a review from azack October 30, 2024 18:27
Copy link
Contributor

@willlockwood willlockwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

domain lgtm
platform lgtm

Copy link

@azack azack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requesting changes while checking stringify behavior

@btrautmann
Copy link
Contributor Author

requesting changes while checking stringify behavior

I have been bitten more than once by not having stringify on... I'm surprised we haven't talked about that for our host application :)

@btrautmann
Copy link
Contributor Author

Closing this for now, will do this without equatable in a way that doesn't have unexpected behavior (see felangel/equatable#181, which I've been bitten by a couple times in the past).

@btrautmann btrautmann closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants