-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat: Switch from Yoga v2 to Apollo Server v4 #8727
feat: Switch from Yoga v2 to Apollo Server v4 #8727
Conversation
I will reformat the title to use the proper commit message syntax. |
Thanks for opening this pull request! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## alpha #8727 +/- ##
==========================================
+ Coverage 94.29% 94.32% +0.02%
==========================================
Files 186 186
Lines 14785 14809 +24
==========================================
+ Hits 13941 13968 +27
+ Misses 844 841 -3
☔ View full report in Codecov by Sentry. |
I notice that this also requires Node 16, so we'll wait with merging info alpha until Nov. |
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.
Apart from the requirement of Node >= 16, does this have any breaking changes? It's fine if it does, since we can only release it with Parse Server 7 (2024) anyway.
package.json
Outdated
@@ -48,6 +48,7 @@ | |||
"lodash": "4.17.21", | |||
"lru-cache": "9.1.1", | |||
"mime": "3.0.0", | |||
"mime-types": "2.1.35", |
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.
We already have mime, it seems that it's similar to mime-types. I think if possible we should decide for one of the two if they provide the same functionality.
Could you suggest an entry for the changelog? The current title would only be a refactor, but from the PR comment it seems to include many more improvements, so it would be good to add them to the changelog. You don't have to write that into the PR title, I'll add the long version in the commit message and we keep the PR title short. |
The label |
@Moumouls While this PR is still "recent" and to prepare it for merging in Nov, do you think you could address the mime dependency issue? Otherwise I'm afraid this PR will go stale and not get merged for a long time if no-one picks it up. |
Hi @mtrezza, we should definitely merge this one. It works really well. What is the mime dep issue. How is it linked to this Pr ? Just tell me when I need to refresh the branch, and I'll be happy to fix last details to get it merged ! |
See #8727 (comment). |
Nice catch @mtrezza , I'll take a look |
Signed-off-by: Antoine Cormouls <[email protected]>
Hi @mtrezza i replaced last yoga dep with the CDN version of Apollo Sandbox: https://www.apollographql.com/docs/graphos/explorer/sandbox Also fixed your feedback to use current mime dep My team use this branch in production since now 2 months everything works well. |
// needed since we use graphql upload | ||
requestHeaders: ['X-Parse-Application-Id'], | ||
}, | ||
introspection: true, |
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.
Introspection should probably be disabled by default for security reasons. Perhaps a config variable.
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.
Co-authored-by: Manuel <[email protected]> Signed-off-by: Antoine Cormouls <[email protected]>
@Moumouls We have begun merging the breaking change PRs for Parse Server 7. Could you please resolve the conflict in this PR so we can merge it? |
Closing via #8959 |
Pull Request
Issue
Closes: #8728
Approach
Performance tests:
Tasks