Skip to content

Cleaning up parameters #1683

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

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Cleaning up parameters #1683

merged 1 commit into from
Jan 7, 2022

Conversation

alexeyzimarev
Copy link
Member

  • Added generic overloads for request extensions that add parameters. It will be possible to use string or a struct (like int, long, etc), but not classes.
  • Add missing optional encode argument to some extensions
  • Removed the ContentLength requirement for file parameters as it's not used

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: a531259
Status: ✅  Deploy successful!
Preview URL: https://d66ce0da.restsharp.pages.dev

View logs

@alexeyzimarev alexeyzimarev merged commit 949a342 into dev Jan 7, 2022
@repo-ranger repo-ranger bot deleted the more-parameters-cleanup branch January 7, 2022 11:49
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