Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove dead leftover from #2983, the menu children field was dropped

NyanKiyoshidc9fd10b23c4
diff --git a/saleor/graphql/menu/types.py b/saleor/graphql/menu/types.py
index e47b3f6067..47532f0b93 100644
--- a/saleor/graphql/menu/types.py
+++ b/saleor/graphql/menu/types.py
@@ -20,9 +20,6 @@ def prefetch_menus(info, *_args, **_kwargs):
class Menu(CountableDjangoObjectType):
- children = graphene.List(
- lambda: MenuItem, required=True,
- description='List of menu item children items')
items = gql_optimizer.field(
graphene.List(lambda: MenuItem),
prefetch_related=prefetch_menus)
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index ba88e440b5..5dda0031a2 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -950,7 +950,6 @@ type Margin {
type Menu implements Node {
id: ID!
name: String!
- children: [MenuItem]!
items: [MenuItem]
}