Skip to content

Commit 7f4e178

Browse files
committed
fix(graphql-model-transformer): callout extend type support limitation
1 parent ea5dd67 commit 7f4e178

File tree

1 file changed

+3
-0
lines changed
  • src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling

1 file changed

+3
-0
lines changed

src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,9 @@ Declaring custom Query, Mutation, and/or Subscription with the same field names
11421142
`🛑 Object type extension 'Query' cannot redeclare field getBlogById`
11431143
</Callout>
11441144

1145+
<Callout info>
1146+
The 'extend' keyword can only be applied to GraphQL Queries, Mutations, and Subscriptions. Amplify directives are not supported on these extended type definitions.
1147+
</Callout>
11451148

11461149
## How it works
11471150

0 commit comments

Comments
 (0)