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

feat(code-gen): define behavior for T.file() in R.body() #2597

Merged
merged 1 commit into from
May 20, 2023

Conversation

dirkdev98
Copy link
Member

This was strictly prohibited in old code-gen, and you could only use it with R.files(), which restricted using other post body values.

Until now, no behavior was specified for current code-gen. This adds support for using 'T.file()' with R.body(). It restricts other values to only use basic types, so we don't define behavior for array or object types in multipart/form-data handling.

This was strictly prohibited in old code-gen, and you could only use it with `R.files()`, which restricted using other post body values.

Until now, no behavior was specified for current code-gen. This adds support for using 'T.file()' with `R.body()`. It restricts other values to only use basic types, so we don't define behavior for array or object types in multipart/form-data handling.
@dirkdev98 dirkdev98 enabled auto-merge (squash) May 20, 2023 11:19
@dirkdev98 dirkdev98 merged commit 80429b0 into main May 20, 2023
@dirkdev98 dirkdev98 deleted the feat/file-handling-improvements branch May 20, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant