The grouper type is not usable

The type in [GroupBy<TGrouper>] is abstract, generic, or missing IGrouper.

  • Error
  • BEVEL068

What it means

A grouper is a class Bevel creates itself and calls for each value. It must be a plain class that implements IGrouper<TValue, TGroupValue>.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL068: [GroupBy("Tags")] on 'BlogPost.Tags': grouper 'MySite.Data.YearGrouper' does not implement IGrouper<TValue, TGroupValue>. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel068/

How to fix

Use a concrete, non-generic class that implements IGrouper<TValue, TGroupValue>.