mirror of
https://github.com/ent/ent.git
synced 2026-04-28 13:40:56 +03:00
doc: fix edge.Annotations method name typo (#3618)
This commit is contained in:
@@ -68,7 +68,7 @@ func (Todo) Edges() []ent.Edge {
|
||||
edge.To("parent", Todo.Type).
|
||||
Unique().
|
||||
From("children").
|
||||
Annotation(entgql.RelayConnection()),
|
||||
Annotations(entgql.RelayConnection()),
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user