-
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
Handler to take single event param & ret w/ compojure dispatch #24
Merged
ccfontes
merged 9 commits into
main
from
handler-to-take-one-event-arg-and-compojure-ret-dispatch
Aug 30, 2023
Merged
Handler to take single event param & ret w/ compojure dispatch #24
ccfontes
merged 9 commits into
main
from
handler-to-take-one-event-arg-and-compojure-ret-dispatch
Aug 30, 2023
Conversation
This file contains 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
… commands ✨ feat(faas_fn_build_invoke.yml): add support for process.env.PORT environment variable 📝 docs(README.adoc): update third party code section with derived files from ring-clojure 🐛 fix(handler.clj): update handler function to destructure body from request 🐛 fix(Dockerfile): add bb print-deps command to Dockerfile 🐛 fix(bb.edn): add "lib" directory to paths in bb.edn 🐛 fix(index.clj): update ->app function to use wrap-friendly-headers middleware 📝 docs(compojure/response.clj): add compojure.response namespace with Renderable and Sendable protocols 📝 docs(ring/middleware/head.clj): add ring.middleware.head namespace with wrap-head middleware ✨ feat(headers.clj): add wrap-friendly-headers middleware ✨ feat(headers.clj): add wrap-lowercase-headers middleware ✨ feat(json.clj): add wrap-json-body-request middleware ✨ feat(json.clj): add wrap-json-params middleware ✨ feat(json.clj): add wrap-json-response middleware ✨ feat(io.clj): add piped-input-stream function ✨ feat(io.clj): add string-input-stream function ✨ feat(io.clj): add close! function ✨ feat(io.clj): add last-modified-date function 📦 chore(mime_type.clj): add mime-type utility functions for determining file extensions and mime-types 📦 chore(parsing.clj): add regular expressions for parsing HTTP headers and finding content-type charset ✨ feat(response.clj): add functions for generating and augmenting response maps 🐛 fix(response.clj): fix typo in function name redirect-after-post ✨ feat(response.clj): add function for returning a 400 'bad request' response ✨ feat(response.clj): add function for returning a 404 'not found' response ✨ feat(response.clj): add function for returning a skeletal response with given body ✨ feat(response.clj): add function for updating status of a response ✨ feat(response.clj): add function for updating header of a response ✨ feat(response.clj): add function for setting charset of a response ✨ feat(response.clj): add function for getting charset of a response ✨ feat(response.clj): add function for setting a cookie on the response ✨ feat(response.clj): add function for finding a header in a response ✨ feat(response.clj 📝 chore(ring.util.time.clj): add time utility functions for dealing with HTTP requests 📝 chore(ring.util.walk.clj): add utility functions for manipulating maps and strings 📝 chore(tests.clj): add tests for ring.util.walk and ring.util.string functions
🔧 chore(response.clj): remove unnecessary metadata from ns declaration 🔥 remove(head.clj): remove unused middleware 🔧 chore(headers.clj): add author and license metadata to ns declaration 🔧 chore(parsing.clj): remove unnecessary metadata from ns declaration 🔧 chore(string.clj): add author and license metadata to ns declaration 🔧 chore(walk.clj): add author and license metadata to ns declaration 🔧 chore(tests.clj): remove unnecessary metadata from ns declaration 🔧 chore(tests.clj): add author and license metadata to ns declaration 🔧 chore(tests.clj): add tests for ring-string/read-string 🔧 chore(tests.clj): add tests for ring-string/write-string 🔧 chore(tests.clj): add tests for ring-walk/read-val-
…h conventional style 🐛 fix(response.clj): add conditional check to canonical-path to handle directories correctly
…unction 🐛 fix(handler.clj): destructure the body from the request map in the handler function 🐛 fix(handler.clj): destructure the body from the request map in the handler function 🐛 fix(Dockerfile): remove unnecessary directory in the COPY command 🐛 fix(index.clj): add wrap-text-body middleware to handle text/plain requests ✨ feat(text.clj): add wrap-text-body middleware to handle text/plain requests
🐛 fix(handler.clj): update destructuring keys to match context variable names 🐛 fix(mime_type.clj): change if-let to when-let for file extension check
…in payload body 🐛 fix(Dockerfile): update bb prepare command to include function/handler directory and print dependencies
🐛 fix(ring.middleware.text): add missing metadata to namespace declaration ✅ test(middleware-text): add tests for text-request? function
📝 docs(headers.clj): update metadata formatting and add URL 📝 docs(json.clj): update metadata formatting and add URL 📝 docs(text.clj): update metadata formatting and add URL 📝 docs(io.clj): update metadata formatting and add URL 📝 docs(mime_type.clj): update metadata formatting and add URL 📝 docs(parsing.clj): update metadata formatting and add URL 📝 docs(response.clj): update metadata formatting and add URL 📝 docs(string.clj): update metadata formatting and add URL 📝 docs(time.clj): update metadata formatting and add URL 📝 docs(walk.clj): update metadata formatting and add URL 📝 docs(tests.clj): update metadata formatting and add URL
ccfontes
deleted the
handler-to-take-one-event-arg-and-compojure-ret-dispatch
branch
August 30, 2023 13:21
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.
No description provided.