Replace Apollo GraphQL packages with @apollo/server 4.0.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| apollo-server-core (source) | dependencies | replacement | 3.13.0 -> 4.0.0 |
| apollo-server-express (source) | dependencies | replacement | 3.13.0 -> 4.0.0 |
This is a special PR that replaces apollo-server-core with the community suggested minimal stable replacement version.
This is a special PR that replaces apollo-server-express with the community suggested minimal stable replacement version.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
@Kedae re-open this one for visibility. Migrate to Apollo 4 is not an option, it is mandatory in short term.
@SamuelHassine It already has been plan in the roadmap to be handled
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
I pushed my all modifications in the branch. From what I recall there was some issues on subscriptions and on tests.
Points of attention with these migrations:
- the graphql subscription
- the error message format
Linked issues: https://github.com/OpenCTI-Platform/opencti/issues/3991 https://github.com/OpenCTI-Platform/opencti/issues/3990
Codecov Report
Attention: Patch coverage is 11.71875% with 113 lines in your changes missing coverage. Please review.
Project coverage is 67.96%. Comparing base (
31c06f3) to head (7473c8b). Report is 1 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #5574 +/- ##
==========================================
+ Coverage 67.83% 67.96% +0.12%
==========================================
Files 572 572
Lines 70910 70999 +89
Branches 6048 6123 +75
==========================================
+ Hits 48104 48254 +150
+ Misses 22806 22745 -61
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.