-
Notifications
You must be signed in to change notification settings - Fork 278
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
[worker] Add FormData conversion into JsValue #634
Merged
Merged
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
fisherdarling
approved these changes
Sep 2, 2024
This allows FormData to be constructed and passed as JsValue later on. For instance, `RequestInit::new().with_body(Some(formdata.into()))`
thibmeu
force-pushed
the
add-formdata-jsvalue
branch
from
September 2, 2024 11:57
3a3fe41
to
1311d66
Compare
@kflansburg when you have time |
kflansburg
approved these changes
Sep 12, 2024
github-actions bot
pushed a commit
that referenced
this pull request
Sep 13, 2024
This allows FormData to be constructed and passed as JsValue later on. For instance, `RequestInit::new().with_body(Some(formdata.into()))`
renovate bot
referenced
this pull request
in spiraldb/vortex
Sep 13, 2024
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [worker](https://redirect.github.com/cloudflare/workers-rs) | workspace.dependencies | minor | `0.3.0` -> `0.4.0` | --- ### Release Notes <details> <summary>cloudflare/workers-rs (worker)</summary> ### [`v0.4.0`](https://redirect.github.com/cloudflare/workers-rs/releases/tag/v0.4.0) [Compare Source](https://redirect.github.com/cloudflare/workers-rs/compare/v0.3.4...v0.4.0) #### What's Changed - Relax type of callback arguments to `Router` methods. This uses APIT to allow more types than a function pointer to implement handlers (i.e. async closure) by [@​compiler-errors](https://redirect.github.com/compiler-errors) in [https://github.com/cloudflare/workers-rs/pull/605](https://redirect.github.com/cloudflare/workers-rs/pull/605) - Fix typos in CORS argument names by [@​OliverEvans96](https://redirect.github.com/OliverEvans96) in [https://github.com/cloudflare/workers-rs/pull/629](https://redirect.github.com/cloudflare/workers-rs/pull/629) - Implement `get_all` function to return non-folding set-cookie headers by [@​nakamura-shuta](https://redirect.github.com/nakamura-shuta) in [https://github.com/cloudflare/workers-rs/pull/597](https://redirect.github.com/cloudflare/workers-rs/pull/597) - Add `FormData` conversion into `JsValue` by [@​thibmeu](https://redirect.github.com/thibmeu) in [https://github.com/cloudflare/workers-rs/pull/634](https://redirect.github.com/cloudflare/workers-rs/pull/634) > \[!CAUTION] > Breaking: Make R2 `Object::size` return `u64` by [@​lkolbly](https://redirect.github.com/lkolbly) in [https://github.com/cloudflare/workers-rs/pull/625](https://redirect.github.com/cloudflare/workers-rs/pull/625) #### New Contributors - [@​lkolbly](https://redirect.github.com/lkolbly) made their first contribution in [https://github.com/cloudflare/workers-rs/pull/625](https://redirect.github.com/cloudflare/workers-rs/pull/625) - [@​compiler-errors](https://redirect.github.com/compiler-errors) made their first contribution in [https://github.com/cloudflare/workers-rs/pull/605](https://redirect.github.com/cloudflare/workers-rs/pull/605) - [@​OliverEvans96](https://redirect.github.com/OliverEvans96) made their first contribution in [https://github.com/cloudflare/workers-rs/pull/629](https://redirect.github.com/cloudflare/workers-rs/pull/629) - [@​nakamura-shuta](https://redirect.github.com/nakamura-shuta) made their first contribution in [https://github.com/cloudflare/workers-rs/pull/597](https://redirect.github.com/cloudflare/workers-rs/pull/597) - [@​thibmeu](https://redirect.github.com/thibmeu) made their first contribution in [https://github.com/cloudflare/workers-rs/pull/634](https://redirect.github.com/cloudflare/workers-rs/pull/634) **Full Changelog**: cloudflare/workers-rs@v0.3.4...v0.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/spiraldb/vortex). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.
This allows FormData to be constructed and passed as JsValue later on. For instance,
RequestInit::new().with_body(formdata.into())
.