-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor: Delegate all handling to core #152
Conversation
I like this approach more than the previous attempts 👌 |
Remind me again why we needed POST instead of GET and why now GET is fine? |
I don't know why we needed POST, i thought there was a reason for it. I knew why the core was using Now it's fine since I found out that there were no specific reasons for the decision to use POST. |
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.
LGTM, clearly we can't merge this until we land the upstream PR.
Also sync tests to match output of core
092e6ee
to
8a73e8c
Compare
@barelyhuman after updating the latest version of mercurius, which includes the change we needed, CI is failing. Not sure if you have a chance to look into this, but there must be something that was overlooked here. |
It seems to be reusing the existing mercurius instance, a teardown should help. I'll check it out in a bit |
Thanks 🙏 |
index.js
Outdated
) | ||
context: contextFn, | ||
routes: true, | ||
additionalRouteProps: { |
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.
should be additionalRouteOptions
, I don't have push access to the repo anymore
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.
ah thanks, good catch 👌
Changes
Test Modifications
method
and body type as supported by thecore
instead of re-implementing their own detailsUpstream Dependency: mercurius-js/mercurius#1080
Closes #4