A dataset depends on one that does not exist

A dataset names a dependency that no loader declares.

  • Error
  • BEVEL010

What it means

A [DependsOn] (or a DependsOn list on a loader) names a dataset that does not exist. Group datasets are named Posts.Tags. Bevel suggests the closest name it knows.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL010: Dataset 'Authors' (declared by AuthorLoader) depends on unknown dataset 'Post'. Did you mean 'Posts'? Declare a dataset with that name, fix the name, or remove the dependency. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel010/

How to fix

Fix the name, declare the dataset, or remove the dependency.

csharp
[DependsOn("Post")]
[DependsOn("Posts")]
public sealed class AuthorLoader : IBevelDataLoader<Author> { /* ... */ }