Repository navigation
fix: correct query parameter serialization for request objects - #25
Closed
fern-api[bot] wants to merge 1 commit into
Closed
fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
Replace `@JsonIgnore` with `@JsonProperty` on all getter methods across request classes so that optional query parameters are correctly serialized and sent to the server. Previously, fields annotated with `@JsonIgnore` were silently dropped during serialization, meaning pagination, filtering, and sorting parameters were never transmitted in API requests. Key changes: - `ListDatasetsRequest`: fix serialization of `page`, `page_size`, `search`, `latest_status`, `sort_by`, `sort_order`, `ownership` - `ListEntitiesInDatasetRequest` / `ListEntitiesRequest`: fix serialization of `page`, `page_size`, `search`, `status`, `entity_type`, `sort_by`, `sort_order` - `GetJobResultsRequest` / `GetUserJobsRequest`: fix serialization of `page`, `page_size`, `search`, `ownership` - `ListMonitorJobsRequest` / `ListMonitorsRequest`: fix serialization of `sort`, `page`, `page_size`, `search`, `ownership` 🌿 Generated with Fern
Contributor
|
closed as changes included in #26 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.5.0 → 1.6.0
Changed
ListDatasetsRequest,ListEntitiesRequest,ListEntitiesInDatasetRequest,GetJobResultsRequest,GetUserJobsRequest,ListMonitorJobsRequest,ListMonitorsRequest) were previously annotated with@JsonIgnoreand silently dropped during serialization; they are now correctly annotated with@JsonPropertyand transmitted as query parameters. Pagination (page,page_size), filtering (search,status,ownership, etc.), and sorting (sort_by,sort_order) fields now work as expected.See full changelog