Skip to content

Commit

Permalink
make group by non nullable since it is required for grouped search pa…
Browse files Browse the repository at this point in the history
…rameters (#105)
  • Loading branch information
runeanielsen authored Oct 28, 2022
1 parent 560bdb3 commit 3ca2586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Typesense/SearchParameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public record GroupedSearchParameters : SearchParameters
/// To group on a particular field, it must be a faceted field.
/// </summary>
[JsonPropertyName("group_by")]
public string? GroupBy { get; set; }
public string GroupBy { get; set; }

public GroupedSearchParameters(
string text,
Expand Down

0 comments on commit 3ca2586

Please sign in to comment.