Skip to content

Make ResponseUtil internal#49153

Closed
mateoguzmana wants to merge 1 commit into
facebook:mainfrom
mateoguzmana:refactor/internalize-response-util
Closed

Make ResponseUtil internal#49153
mateoguzmana wants to merge 1 commit into
facebook:mainfrom
mateoguzmana:refactor/internalize-response-util

Conversation

@mateoguzmana
Copy link
Copy Markdown
Collaborator

Summary:

As part of the initiative to reduce the public API surface, this class can be internalized. I've checked there are no relevant OSS usages.

Changelog:

[INTERNAL] - Make com.facebook.react.modules.network.ResponseUtil internal

Test Plan:

yarn test-android
yarn android

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Feb 3, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@cortinico
Copy link
Copy Markdown
Contributor

cortinico commented Feb 4, 2025

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@javache merged this pull request in 360cbf7.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 4, 2025
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @mateoguzmana in 360cbf7

When will my fix make it into a release? | How to file a pick request?

@mateoguzmana
Copy link
Copy Markdown
Collaborator Author

@mateoguzmana not sure if this is actually a valid use case: https://github.com/2lambda123/BlackBerry-Dynamics-React-Native-SDK/blob/f24b0e72cfef18fa33e971667459b5af12e3d090/modules/BlackBerry-Dynamics-for-React-Native-Networking/android/src/main/java/com/blackberry/bbd/reactnative/networking/RNReactNativeBbdNetworkingModule.java#L48

Anyway I think we should mark this as breaking in the changelog

@cortinico hmm, good point, that's an interesting one. I didn't see much usage/recent activity on the repository so didn't consider it very relevant – but still maybe I could create an issue on their side to let them be aware of this breaking change. Wdyt? Curious to see how some similar cases have been handled so I can follow up as well on that

@cortinico
Copy link
Copy Markdown
Contributor

but still maybe I could create an issue on their side to let them be aware of this breaking change. Wdyt?

I think in this particular case we can create an issue on their end, saying that this function is going away. Either use an alternative or fork the code.

I was exploring using shepherd for similar scenarios in the future: https://github.com/NerdWalletOSS/shepherd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants