Skip to content

Commit

Permalink
fix(postgrest): Update parameter type of isFilter() to only allow b…
Browse files Browse the repository at this point in the history
…oolean or null (#920)

fix: parameter type of isFilter
  • Loading branch information
dshukertjr committed May 13, 2024
1 parent 0902124 commit 0a3b73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/postgrest/lib/src/postgrest_filter_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class PostgrestFilterBuilder<T> extends PostgrestTransformBuilder<T> {
/// .isFilter('data', null);
/// ```
// ignore: non_constant_identifier_names
PostgrestFilterBuilder<T> isFilter(String column, Object? value) {
PostgrestFilterBuilder<T> isFilter(String column, bool? value) {
return copyWithUrl(appendSearchParams(column, 'is.$value'));
}

Expand Down

0 comments on commit 0a3b73e

Please sign in to comment.