Skip to content
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

support form data in services #500

Open
cataggar opened this issue Nov 7, 2021 · 2 comments
Open

support form data in services #500

cataggar opened this issue Nov 7, 2021 · 2 comments
Labels
Azure.Core The azure_core crate CodeGen Issues that relate to code generation Previous Versions Work related to older, unsupported SDKs

Comments

@cataggar
Copy link
Member

cataggar commented Nov 7, 2021

A bit like https://docs.rs/reqwest/0.11.6/reqwest/multipart/struct.Form.html
But needs to support wasm too

@cataggar cataggar added CodeGen Issues that relate to code generation Azure.Core The azure_core crate labels Nov 7, 2021
@ctaggart
Copy link
Contributor

ctaggart commented Jan 1, 2022

https://swagger.io/docs/specification/2-0/describing-parameters/#form-parameters

If you search the specifications for formData, it returns 108 results in 29 files.

Code generation currently writes unimplemented. An example:

    Checking azure_svc_containerregistry v0.1.0 (/Users/runner/work/azure-sdk-for-rust/azure-sdk-for-rust/services/svc/containerregistry)
error: unreachable statement
    --> svc/containerregistry/src/package_2019_07/operations.rs:1617:17
     |
1616 |                 unimplemented!("form data not yet supported");
     |                 --------------------------------------------- any code following this expression is unreachable
1617 |                 unimplemented!("form data not yet supported");
     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
     |
     = note: `-D unreachable-code` implied by `-D warnings`
     = note: this error originates in the macro `$crate::panic` (in Nightly builds, run with -Z macro-backtrace for more info)

@cataggar cataggar added this to the services 0.2.0 milestone Jan 11, 2022
@cataggar cataggar removed this from the services 0.2.0 milestone Mar 3, 2022
@juliusl
Copy link
Member

juliusl commented Jul 27, 2023

@cataggar Is this an item I could implement?

@heaths heaths added the Previous Versions Work related to older, unsupported SDKs label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate CodeGen Issues that relate to code generation Previous Versions Work related to older, unsupported SDKs
Projects
None yet
Development

No branches or pull requests

4 participants