Skip to content

Commit 4a15939

Browse files
authored
fix(amplify-data): callout extend type support limitation (#8221)
* fix(graphql-model-transformer): callout extend type support limitation * fix(graphql-model-transformer): update wordings * fix(graphql-model-transformer): add custom queries link
1 parent ea5dd67 commit 4a15939

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,11 @@ 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+
Amplify directives are currently not supported on the extended type definitions. You can use the extend keyword to organize custom queries, mutations, and subscriptions that use [custom resolvers](https://docs.amplify.aws/gen1/react/build-a-backend/graphqlapi/best-practice/batch-put-custom-resolver/).
1147+
1148+
For the latest updates and potential future enhancements, please track the ongoing discussion in [GitHub Issue #3036](https://github.com/aws-amplify/amplify-category-api/issues/3036).
1149+
</Callout>
11451150

11461151
## How it works
11471152

0 commit comments

Comments
 (0)