A generated name clashes with your type

A type Bevel generates has the same name as one of your types.

  • Error
  • BEVEL054

What it means

Bevel generates an interface, a data class, and <Item>Groups and <Dataset>Collection types for datasets with groups. They share a namespace with your code.

Example message

text
BevelPrebuild: error BEVEL054: The collection type 'PostCollection' generated for dataset 'Post' (it has [Group] members) clashes with the type 'PostCollection' that already exists in namespace 'MySite'. Rename the dataset or the other type. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel054/

How to fix

Rename the dataset, the item type, or the other type. You can also change <BevelDataInterfaceName> or <BevelDataClassName> in your project file.