-
Given an entity defined like so: type Batch @entity {
id: String!
hash: Bytes!
timestamp: BigInt!
batcher: Batcher
size: BigInt!
streams: [Stream!]! @derivedFrom(field: "batch")
} Is it possible to mark it as immutable if I only do The type Stream @entity {
batch: Batch!
} |
Beta Was this translation helpful? Give feedback.
Answered by
PaulRBerg
May 12, 2025
Replies: 1 comment
-
The answer is yes — it is possible to mark an entity as ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PaulRBerg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is yes — it is possible to mark an entity as
immutable: true
when it contains a field uses the@derivedFrom
directive: