doc: fix edge.Annotations method name typo (#3618)

This commit is contained in:
Mizuki Hashimoto
2023-06-27 06:56:04 +02:00
committed by GitHub
parent f0a81e2640
commit c151e305ca
3 changed files with 3 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ func (Todo) Edges() []ent.Edge {
edge.To("parent", Todo.Type).
Unique().
From("children").
Annotation(entgql.RelayConnection()),
Annotations(entgql.RelayConnection()),
}
}
```