-
Notifications
You must be signed in to change notification settings - Fork 13.1k
refactor: Remove meteor/http for serverFetch
#29038
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
Conversation
meteor/http for serverFetch
Codecov Report
@@ Coverage Diff @@
## develop #29038 +/- ##
===========================================
+ Coverage 44.88% 46.09% +1.20%
===========================================
Files 773 728 -45
Lines 15009 14087 -922
Branches 2096 2193 +97
===========================================
- Hits 6737 6493 -244
+ Misses 7972 7282 -690
- Partials 300 312 +12
Flags with carried forward coverage won't be shown. Click here to find out more. |
| ITranslationResult, | ||
| ISupportedLanguage, | ||
| } from '@rocket.chat/core-typings'; | ||
| import { serverFetch as fetch } from '@rocket.chat/server-fetch'; |
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.
is not the ideia of exporting serverFetch avoid use the same fetch name? why not keep serverFetch everywhere?
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.
Think it's more a preference thing. Part of my goal with the exported name is that ppl using it remember is not the standard fetch.
Renaming it to fetch also makes "easier" to move away from it when we use node's built in fetch in the future.
…ixSearch * 'develop' of github.com:RocketChat/Rocket.Chat: (54 commits) feat: Add support to search for public rooms through the Matrix Network (#28330) chore: Improve bash script and add new detailed infos (#29066) chore: Remove duplicated key in turbo.json (#29057) chore: improve unread indicator colors (#29045) fix: Notification badge background (#29053) fix: `JumpToMessages` button style (#29033) refactor: Remove imports based on isomorphic logic - 2 (#29065) refactor: Move `cloud` and `channel settings` to typescript (#28907) refactor: Separate isomorphic imports on utils - 1 (#29052) fix: bug in close method of RoomManager occurs memory leak (#29058) refactor: Remove Meteor.userId from Slashcommands (#28925) refactor: Move callbacks to async (#29051) Bump version to 6.2.0-rc.4 refactor: No reference to jQuery types (#28977) regression: SlackBridge settings UI crashing (#29050) fix: `HeaderTag` (#28961) chore(deps): Patch dependencies (#29024) regression: Fixed livechat notifications displaying [object Promise] on title (#29021) regression: `fetch` response (#29032) refactor: Remove `meteor/http` for `serverFetch` (#29038) ...
…externalAvatarProvider * 'develop' of github.com:RocketChat/Rocket.Chat: (88 commits) feat: Add support to search for public rooms through the Matrix Network (#28330) chore: Improve bash script and add new detailed infos (#29066) chore: Remove duplicated key in turbo.json (#29057) chore: improve unread indicator colors (#29045) fix: Notification badge background (#29053) fix: `JumpToMessages` button style (#29033) refactor: Remove imports based on isomorphic logic - 2 (#29065) refactor: Move `cloud` and `channel settings` to typescript (#28907) refactor: Separate isomorphic imports on utils - 1 (#29052) fix: bug in close method of RoomManager occurs memory leak (#29058) refactor: Remove Meteor.userId from Slashcommands (#28925) refactor: Move callbacks to async (#29051) Bump version to 6.2.0-rc.4 refactor: No reference to jQuery types (#28977) regression: SlackBridge settings UI crashing (#29050) fix: `HeaderTag` (#28961) chore(deps): Patch dependencies (#29024) regression: Fixed livechat notifications displaying [object Promise] on title (#29021) regression: `fetch` response (#29032) refactor: Remove `meteor/http` for `serverFetch` (#29038) ...
ARCH-943
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Still missing: