Skip to content

Commit c702fef

Browse files
fix(specs): results in getObjects is required (generated)
algolia/api-clients-automation#4024 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 649ae85 commit c702fef

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

packages/client_search/lib/src/model/get_objects_response.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ part 'get_objects_response.g.dart';
99
final class GetObjectsResponse {
1010
/// Returns a new [GetObjectsResponse] instance.
1111
const GetObjectsResponse({
12-
this.results,
12+
required this.results,
1313
});
1414

1515
/// Retrieved records.
1616
@JsonKey(name: r'results')
17-
final List<Object>? results;
17+
final List<Object> results;
1818

1919
@override
2020
bool operator ==(Object other) =>

packages/client_search/lib/src/model/get_objects_response.g.dart

Lines changed: 5 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)