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(client)!: replace multimaps with custom types #370

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Nov 6, 2024

Migration

  • Methods that return headers or query params (e.g. headers from exception classes) previously returned ListMultimap, but now return custom Headers and QueryParams types, respectively, instead. If you were referencing ListMultimap, then update the referenced types and the referenced methods, which are almost identical in name, but have some differences
  • Methods that accept individual headers and query params are unchanged. However, they now have additional overloads for passing the new custom Headers and QueryParams types

# Migration
- Methods that return headers or query params (e.g. headers from exception classes) previously returned `ListMultimap`, but now return custom `Headers` and `QueryParams` types, respectively, instead. If you were referencing `ListMultimap`, then update the referenced types and the referenced methods, which are almost identical in name, but have some differences
- Methods that accept individual headers and query params are unchanged. However, they now have additional overloads for passing the new custom `Headers` and `QueryParams` types
@stainless-app stainless-app bot merged commit 98bc02c into generated Nov 6, 2024
@stainless-app stainless-app bot deleted the feat-client-replace-multimaps-wi branch November 6, 2024 23:05
stainless-app bot pushed a commit that referenced this pull request Nov 7, 2024
# Migration
- Methods that return headers or query params (e.g. headers from exception classes) previously returned `ListMultimap`, but now return custom `Headers` and `QueryParams` types, respectively, instead. If you were referencing `ListMultimap`, then update the referenced types and the referenced methods, which are almost identical in name, but have some differences
- Methods that accept individual headers and query params are unchanged. However, they now have additional overloads for passing the new custom `Headers` and `QueryParams` types
@stainless-app stainless-app bot mentioned this pull request Nov 7, 2024
stainless-app bot pushed a commit that referenced this pull request Nov 7, 2024
# Migration
- Methods that return headers or query params (e.g. headers from exception classes) previously returned `ListMultimap`, but now return custom `Headers` and `QueryParams` types, respectively, instead. If you were referencing `ListMultimap`, then update the referenced types and the referenced methods, which are almost identical in name, but have some differences
- Methods that accept individual headers and query params are unchanged. However, they now have additional overloads for passing the new custom `Headers` and `QueryParams` types
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