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

Remove ObservableSet.linkedHashSetFrom() and use Set by default #869

Merged
merged 10 commits into from
Sep 18, 2022

Conversation

pr-1
Copy link
Contributor

@pr-1 pr-1 commented Sep 16, 2022

Fixes #868 .


Pull Request Checklist

  • If the changes are being made to code, ensure the version in pubspec.yaml is updated.
  • Increment the major/minor/patch/patch-count, depending on the complexity of change
  • Add the necessary unit tests to ensure the coverage does not drop
  • Update the Changelog to include all changes made in this PR
  • Run the set:versions command using npm or yarn. You can find this command in the package.json file in the root directory
  • Include the necessary reviewers for the PR

@netlify
Copy link

netlify bot commented Sep 16, 2022

Deploy Preview for mobx ready!

Name Link
🔨 Latest commit 025148a
🔍 Latest deploy log https://app.netlify.com/sites/mobx/deploys/63273eb57221b800082776d4
😎 Deploy Preview https://deploy-preview-869--mobx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov
Copy link

codecov bot commented Sep 16, 2022

Codecov Report

Merging #869 (025148a) into master (9b7a00d) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #869      +/-   ##
==========================================
+ Coverage   98.80%   98.90%   +0.10%     
==========================================
  Files          55       55              
  Lines        1925     1920       -5     
==========================================
- Hits         1902     1899       -3     
+ Misses         23       21       -2     
Flag Coverage Δ
flutter_mobx 100.00% <ø> (ø)
mobx 98.45% <100.00%> (+0.14%) ⬆️
mobx_codegen 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...src/api/observable_collections/observable_set.dart 100.00% <100.00%> (+2.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b7a00d...025148a. Read the comment docs.

@pr-1 pr-1 marked this pull request as ready for review September 16, 2022 13:42
@pr-1
Copy link
Contributor Author

pr-1 commented Sep 16, 2022

@fzyzcjy @pavanpodila Please have a look

Copy link
Collaborator

@fzyzcjy fzyzcjy left a comment

Choose a reason for hiding this comment

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

LGTM % nits

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
@fzyzcjy
Copy link
Collaborator

fzyzcjy commented Sep 16, 2022

Approve after the final change

@pr-1 pr-1 changed the title Remove ObservableSet.linkedHashSetFrom() and use LinkedHashSet by default Remove ObservableSet.linkedHashSetFrom() and use Set by default Sep 16, 2022
Copy link
Member

@pavanpodila pavanpodila left a comment

Choose a reason for hiding this comment

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

Need to run set:versions to set the version in the library. Also some conflicts need to be resolved

@pavanpodila
Copy link
Member

resolve conflicts pls before merge @pr-1

@pr-1
Copy link
Contributor Author

pr-1 commented Sep 18, 2022

Updated version to 2.0.8 @pavanpodila Please let me know if that is correct or this change should go in patch-count . Resolved conflicts.

mobx/CHANGELOG.md Outdated Show resolved Hide resolved
mobx/CHANGELOG.md Outdated Show resolved Hide resolved
@pavanpodila
Copy link
Member

Also there are some hygiene changes being pushed into main. Please take a pull from that as well (possibly in 30 mins). @pr-1

mobx/CHANGELOG.md Outdated Show resolved Hide resolved
mobx/lib/mobx.dart Outdated Show resolved Hide resolved
@pavanpodila pavanpodila merged commit e56e2c4 into mobxjs:master Sep 18, 2022
tlvenn pushed a commit to magelo-labs/mobx.dart_old that referenced this pull request Dec 31, 2022
…obxjs#869)

* fix: mobxjs#868 remove linkedHashSetFrom constructor, added tests for ordered hash set

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>

* fix: directly use Set

* removed fixes word

* fix: set version using melos

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
tlvenn pushed a commit to magelo-labs/mobx.dart_old that referenced this pull request Dec 31, 2022
…obxjs#869)

* fix: mobxjs#868 remove linkedHashSetFrom constructor, added tests for ordered hash set

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>

* fix: directly use Set

* removed fixes word

* fix: set version using melos

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
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.

None yet

3 participants