SearchFilter

annotation class SearchFilter(val alias: String = "")(source)

Marks a constructor property as filterable by the caller.

Mutually exclusive with SearchFixedFilter.

Properties

Link copied to clipboard

When non-blank, overrides the field's search-facing name (e.g. ?filter=name==foo instead of ?filter=displayName==foo). It plays no part in the REST DTO mapping; use RestProperty for that.