-
Notifications
You must be signed in to change notification settings - Fork 405
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(logger-plugin): run filter
function in injection context
#2236
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 95eed69. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targetsSent with 💌 from NxCloud. |
@ngxs/devtools-plugin
@ngxs/form-plugin
@ngxs/hmr-plugin
@ngxs/router-plugin
@ngxs/storage-plugin
@ngxs/websocket-plugin
@ngxs/store
commit: |
b64ce88
to
21b1af6
Compare
In this commit, we wrap the `options.filter` function for the logger plugin to run within the injection context, allowing the retrieval of any injectees that may have properties required for filtering. For example, the user may want to skip logging actions until the app's bootstrap is complete. Additionally, the `isIE` check has been removed from the log writer, as Internet Explorer is no longer supported by Angular.
21b1af6
to
95eed69
Compare
BundleMonUnchanged files (6)
No change in files bundle size Unchanged groups (2)
Final result: ✅ View report in BundleMon website ➡️ |
BundleMon (NGXS Plugins)Files updated (1)
Unchanged files (8)
Total files change -59B -0.28% Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
BundleMon (Integration Projects)Files updated (2)
Unchanged files (1)
Total files change -171B -0.08% Final result: ✅ View report in BundleMon website ➡️ |
Code Climate has analyzed commit 95eed69 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 95.4% (0.1% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
In this commit, we wrap the
options.filter
function for the logger plugin to run withinthe injection context, allowing the retrieval of any injectees that may have properties
required for filtering. For example, the user may want to skip logging actions until the
app's bootstrap is complete.
Additionally, the
isIE
check has been removed from the log writer, as Internet Exploreris no longer supported by Angular.