---
title: 'CHR0068: A node or an edge cannot be a read model'
editUrl: https://github.com/Cratis/Chronicle/edit/main/Documentation/code-analysis/CHR0068.mdx
description: CHR0068 reports a type that is both a node or an edge in a graph and a read model.
lastUpdated: 2026-11-05T00:00:00.000Z
---


## Rule description

A node or an edge is projected onto a property graph, while a type marked with `[ReadModel]` is projected onto a document or relational store. A type is one or the other.

## Severity

Error

## How to fix

Remove `[ReadModel]` from the node or edge, or remove `[Node]` or `[Edge]` and the graph projection attributes from the read model.

## Related topics

- [Graph projections](/chronicle/projections/graph-projections/)
