Skip to content

Commit 24124ec

Browse files
idalithbbenface
andauthored
Update website/pages/en/developing/creating-a-subgraph.mdx
Co-authored-by: Benoît Rouleau <[email protected]>
1 parent 5b49dae commit 24124ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/pages/en/developing/creating-a-subgraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ Before defining entities, it is important to take a step back and think about ho
427427
- Each type that should be an entity is required to be annotated with an `@entity` directive.
428428
- By default, entities are mutable, meaning that mappings can load existing entities, modify them and store a new version of that entity.
429429
- Mutability comes at a price, so for entity types that will never be modified, such as those containing data extracted verbatim from the chain, it is recommended to mark them as immutable with `@entity(immutable: true)`.
430-
- If changes happen in the same block in which the intity was created, then mappings can make changes to immutable entities. Immutable entities are much faster to write and to query so they should be used whenever possible.
430+
- If changes happen in the same block in which the entity was created, then mappings can make changes to immutable entities. Immutable entities are much faster to write and to query so they should be used whenever possible.
431431

432432
#### Good Example
433433

0 commit comments

Comments
 (0)