The post-processor type is not usable

The type in [PostProcess<T>] is abstract, generic, or does not match the item type.

  • Error
  • BEVEL096
  • Since 0.3

What it means

A post-processor sees the whole list after loading. It must be a plain class that implements IDatasetProcessor<TItem> once, for the item type that carries the attribute.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL096: [PostProcess<SortPosts>] on 'BlogPost': post-processor 'MySite.Data.SortPosts' does not implement IDatasetProcessor<BlogPost>. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel096/

How to fix

Use a concrete class that implements IDatasetProcessor<TItem> once, for the item type that carries the attribute.