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:
Adam Zapaśnik
2023-03-19 15:14:55 +03:00
committed by GitHub
parent b340ed78cf
commit 055d367984

View File

@@ -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: