Skip to content

Conversation

@jakemac53
Copy link
Collaborator

This is a breaking change due to dropping the matcher libraries, but this package really never should have had that dependency and its a blocker for use in many cases.

}

extension on Map<String, String?> {
bool equals(Map<String, String?> other) {
Copy link
Member

Choose a reason for hiding this comment

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

can we just use collectionEquals from dart:collection?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We would have to add a dependency on package:collection to get that afaik, and we only need shallow equality which is trivial to implement here.

Copy link
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

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

one comment but lgtm

@jakemac53 jakemac53 merged commit 400c820 into google:master Apr 15, 2025
5 checks passed
@jakemac53 jakemac53 deleted the drop-dependencies branch April 15, 2025 19:13
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.

2 participants