A grouping attribute does not fit the member
The grouping attribute does not match the member's type, or Bevel cannot read the member.
What it means
Each grouping attribute works on certain types. The error names the one to use.
Example message
Data/Posts/BlogPost.cs(6,15): error BEVEL060: [GroupBy("Tags")] on 'BlogPost.Tags': [GroupBy] requires text, but 'PublishedOn' is 'DateTime'. Use [GroupByDate]. Supported: text, bool, dates, or any type through [GroupBy<TGrouper>]. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel060/
How to fix
Pick the attribute for the member's type.
| Type | Attribute |
|---|---|
| Text | [GroupBy] |
| Dates | [GroupByDate] |
bool |
[GroupByFlag] |
| Anything else | [GroupBy<TGrouper>] |