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

fix(component-store): use default equality function for selectSignal #3884

Conversation

markostanimirovic
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Related to #3882

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@netlify
Copy link

netlify bot commented May 8, 2023

👷 Deploy Preview for ngrx-io processing.

Name Link
🔨 Latest commit f6dbfd2
🔍 Latest deploy log https://app.netlify.com/sites/ngrx-io/deploys/64595b0f61e63a0009675b72

@netlify
Copy link

netlify bot commented May 8, 2023

Deploy Preview for ngrx-io ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f6dbfd2
🔍 Latest deploy log https://app.netlify.com/sites/ngrx-io/deploys/64595b0f61e63a0009675b72
😎 Deploy Preview https://deploy-preview-3884--ngrx-io.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.

@@ -1500,6 +1501,60 @@ describe('Component Store', () => {
expect(projectorExecutionCount).toBe(3);
});

it('uses default equality function when equality function is not provided', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Do we need a test for passing a custom equality check?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, we already have tests for a custom equality function.

@timdeschryver timdeschryver merged commit 5843e7f into ngrx:master May 9, 2023
6 checks passed
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