Skip to content

Commit

Permalink
fix(specs): results in getObjects is required (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4024

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Oct 23, 2024
1 parent 649ae85 commit c702fef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ part 'get_objects_response.g.dart';
final class GetObjectsResponse {
/// Returns a new [GetObjectsResponse] instance.
const GetObjectsResponse({
this.results,
required this.results,
});

/// Retrieved records.
@JsonKey(name: r'results')
final List<Object>? results;
final List<Object> results;

@override
bool operator ==(Object other) =>
Expand Down
18 changes: 5 additions & 13 deletions packages/client_search/lib/src/model/get_objects_response.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c702fef

Please sign in to comment.