-
Notifications
You must be signed in to change notification settings - Fork 3k
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
rc4 compilation failure with operator/distinctKey #2161
Comments
|
… perf improvements (#2049) * feat(distinct): remove `distinctKey`, `distinct` signature change and perf improvements - Adds a limited Set ponyfill for runtimes that do not support `Set` - `distinct` now supports an optional keySelector argument that the user can use to select the value to check distinct on - `distinctKey` is removed as it is redundant - `distinct` no longer supports a comparer function argument, as there is little to no use case for such an argument that could not be covered by the keySelector - updates tests to remove tests that do not make sense and test new functionality BREAKING CHANGE: `distinctKey` has been removed. Use `distinct` BREAKING CHANGE: `distinct` operator has changed, first argument is an optional `keySelector`. The custom `compare` function is no longer supported. resolves #2009 * perf(distinct): increase `distinct()` perf by improving deopts - moves keySelector call to a different function with a try catch to improve V8 optimization - distinct calls with no keySelector passed now take a fully optimized path, doubling speed again related #2009 * docs(distinct): update distinct docs to fit new API
We forgot to remove the file https://github.com/ReactiveX/rxjs/blob/c7cfe444642407f3227a09a0cdf38fd495b867e1/src/add/operator/distinctKey.ts PR to fix coming shortly. Thanks @alexeagle ! any idea why our internal build didn't fail? Is there an option we can enable to be more strict? |
`distinctKey` was removed in the previous version but we accidentally left some files and references to it, which can cause build failures for TS users. fixes ReactiveX#2161
`distinctKey` was removed in the previous version but we accidentally left some files and references to it, which can cause build failures for TS users. fixes ReactiveX#2161
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
src/add/operator/distinctKey.ts(2,29): error TS2307: Cannot find module '../../operator/distinctKey'
The text was updated successfully, but these errors were encountered: