mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
doc/grpc: fix typo in tutorial-grpc-edges.md (#3400)
Co-authored-by: Adam Zapaśnik <adamzapasnik@users.noreply.github.com>
This commit is contained in:
@@ -61,8 +61,8 @@ func (User) Edges() []ent.Edge {
|
||||
Notice a few things:
|
||||
|
||||
* Our edges also receive an `entproto.Field` annotation. We will see why in a minute.
|
||||
* We created a one-to-many relation ship where a `Group` has a single `admin`, and a `User` can administer multiple
|
||||
groups.
|
||||
* We created a one-to-many relationship where a `Category` has a single `admin`, and a `User` can administer multiple
|
||||
categories.
|
||||
|
||||
Re-generating the project with `go generate ./...`, notice the changes to the `.proto` file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user