The processor's types do not match

The processor takes or returns a type that does not fit the member.

  • Error
  • BEVEL084

What it means

The source member must be assignable to TSource, and the result must be assignable to the member. A record processor's TItem must be the item type.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL084: [Process<MarkdownToHtml>("RawMarkdown")] on 'BlogPost.Html': processor 'MarkdownToHtml' takes 'String', but source member 'WordCount' is 'Int32'. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel084/

How to fix

Change a type so the source, result and member types line up.