Uh oh!
There was an error while loading. Please reload this page.
fix: does not override user-defined reporter - #2024
Merged
Merged
Conversation
zhiqingchen
commented
Jul 31, 2023
ContributorAuthor
hey @szymonrybczak , I would like to know how long this pr will be merge? |
szymonrybczak
commented
Jul 31, 2023
Collaborator
Hey @zhiqingchen, it'll be merged probably in the next week. But released probably in few months with |
zhiqingchen
commented
Jul 31, 2023
ContributorAuthor
thanks @szymonrybczak |
2 tasks
facebook-github-bot pushed a commit
to react/react-native
that referenced
this pull request
Aug 15, 2023
Summary: Pull Request resolved: #38944 - Update `cli-commands` package to reflect latest source `react-native-community/cli-plugin-metro` changes. - react-native-community/cli#2021 - react-native-community/cli#2024 - react-native-community/cli#2043 - react-native-community/cli#2047 ### To do WARNING: ~~This PR is non-functional until the next CLI alpha is published and bumped in `package.json` — since it depends on corresponding new APIs in `react-native-community/cli-tools` (react-native-community/cli#2021). This package (and the upcoming work which integrates it) has been tested against locally linked copies of latest CLI.~~ - [x] Bump CLI dependencies when next alpha published. - [x] Ensure Metro bump from `0.77.0` to `0.78.0` is consistently applied with this. Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D48066179 fbshipit-source-id: b3dc8891cf33e537788f942dcaddff4d2f11a31f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
closes#2020
User-defined reporter on the current implementation will definitely be overridden.
Reimplemented
eventsSocketEndpoint.reportEvent. If the customLogReporterPath does not exist, the reporter is not overwritten and only theupdatemethod of thereporteris modified.Also modified some type definitions.
Test Plan:
eventsSocketEndpoint.reportEvent(event)called as before.customLogReporterPathas effective as before.Checklist