Skip to content

Commit

Permalink
Make filter name public
Browse files Browse the repository at this point in the history
  • Loading branch information
a.usenko committed May 31, 2023
1 parent 4ee47ce commit 44eae91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class QueryFiltersResult(
}
}

abstract class Filter<R : FilterResult>(private val name: String?) {
abstract class Filter<R : FilterResult>(val name: String?) {
abstract fun prepare(name: String, paramName: String, params: QueryFilterParams): PreparedFilter<R>

fun prepare(name: String, params: QueryFilterParams): PreparedFilter<R> = prepare(name, name, params)
Expand Down

0 comments on commit 44eae91

Please sign in to comment.