feat(handler): Custom request params parser - #100
Merged
Conversation
enisdenjo
force-pushed
the
parse-request-params
branch
from
July 8, 2023 07:52
e507b87 to
d80a86a
Compare
enisdenjo
marked this pull request as ready for review
July 8, 2023 08:59
enisdenjo
force-pushed
the
parse-request-params
branch
from
July 8, 2023 09:32
41c2de6 to
05c3daf
Compare
enisdenjo
pushed a commit
that referenced
this pull request
Jul 8, 2023
# [1.20.0](v1.19.0...v1.20.0) (2023-07-08) ### Bug Fixes * **handler:** Don't export `makeResponse`, `getAcceptableMediaType` or `isResponse` ([#98](#98)) ([a638cb4](a638cb4)) * **handler:** Request params optional properties can also be null ([10a6f06](10a6f06)) ### Features * **handler:** Custom request params parser ([#100](#100)) ([b919d7e](b919d7e))
Member
Author
|
🎉 This PR is included in version 1.20.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #36, closes #12
The spec explicitly allows other media types and request methods to be used. Meaning, it should be possible to have it working in
graphql-httpwithout breaching spec compliance.Examples
Start the server with
httpStart the server with
express