From 7f4e1781b4a6a7387929849ae391e9a09d84227d Mon Sep 17 00:00:00 2001 From: Christopher Sundersingh Date: Mon, 27 Jan 2025 14:38:08 -0800 Subject: [PATCH] fix(graphql-model-transformer): callout extend type support limitation --- .../build-a-backend/graphqlapi/data-modeling/index.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx b/src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx index 005742eae9d..d7a76d346b3 100644 --- a/src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx +++ b/src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx @@ -1142,6 +1142,9 @@ Declaring custom Query, Mutation, and/or Subscription with the same field names `🛑 Object type extension 'Query' cannot redeclare field getBlogById` + +The 'extend' keyword can only be applied to GraphQL Queries, Mutations, and Subscriptions. Amplify directives are not supported on these extended type definitions. + ## How it works