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

refactor(client)!: switch query params objects to use QueryParams #64

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 20, 2024

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
chore(internal): swap params body getters to use optionals
chore(internal): remove unnecessary nullable annotations
style(internal): minor changes to code ordering and syntax

Migration

If you were accessing _additionalProperties() on a query params object, then previously it returned Map<String, List<String>>. Now it returns a dedicated QueryParams object. The QueryParams class is better suited for mapping a key to multiple values and has similar methods to Map.

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
chore(internal): swap params body getters to use optionals
chore(internal): remove unnecessary nullable annotations
style(internal): minor changes to code ordering and syntax

# Migration

If you were accessing `_additionalProperties()` on a query params object, then previously it returned `Map<String, List<String>>`. Now it returns a dedicated `QueryParams` object. The `QueryParams` class is better suited for mapping a key to multiple values and has similar methods to `Map`.
@stainless-app stainless-app bot requested a review from a team as a code owner December 20, 2024 19:59
@stainless-app stainless-app bot merged commit 9d4b0e7 into generated Dec 20, 2024
@stainless-app stainless-app bot deleted the refactor-client-switch-query-par branch December 20, 2024 19:59
stainless-app bot added a commit that referenced this pull request Jan 2, 2025
)

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
chore(internal): swap params body getters to use optionals
chore(internal): remove unnecessary nullable annotations
style(internal): minor changes to code ordering and syntax
# Migration
If you were accessing `_additionalProperties()` on a query params object, then previously it returned `Map<String, List<String>>`. Now it returns a dedicated `QueryParams` object. The `QueryParams` class is better suited for mapping a key to multiple values and has similar methods to `Map`.
@stainless-app stainless-app bot mentioned this pull request Jan 2, 2025
stainless-app bot added a commit that referenced this pull request Jan 3, 2025
)

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
chore(internal): swap params body getters to use optionals
chore(internal): remove unnecessary nullable annotations
style(internal): minor changes to code ordering and syntax
# Migration
If you were accessing `_additionalProperties()` on a query params object, then previously it returned `Map<String, List<String>>`. Now it returns a dedicated `QueryParams` object. The `QueryParams` class is better suited for mapping a key to multiple values and has similar methods to `Map`.
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