From fdc70054bba2f9d15950e0ccaa8dcadd3687969d Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Wed, 15 Jan 2025 23:00:26 +0000 Subject: [PATCH] Edit --- .../docs/02-install-and-config/01-getting-started-loco.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sea-orm-pro/docs/02-install-and-config/01-getting-started-loco.md b/sea-orm-pro/docs/02-install-and-config/01-getting-started-loco.md index 76d771dd48..93cd1cfcb3 100644 --- a/sea-orm-pro/docs/02-install-and-config/01-getting-started-loco.md +++ b/sea-orm-pro/docs/02-install-and-config/01-getting-started-loco.md @@ -104,6 +104,8 @@ Add the dependencies for defining GraphQL schema: `async-graphql`, `seaography` We need to define an `RelatedEntity` enum for each of the SeaORM entity to help `seaography` figure out the parent-child relation between entities. +These can either be added by hand or by re-generating entities with `sea-orm-cli generate entity` using the `--seaography` flag. + ```diff title=loco_starter/src/models/_entities/files.rs use sea_orm::entity::prelude::*; use serde::{Deserialize, Serialize};