Skip to content

Commit

Permalink
fix(amplify-data): callout extend type support limitation (#8221)
Browse files Browse the repository at this point in the history
* fix(graphql-model-transformer): callout extend type support limitation

* fix(graphql-model-transformer): update wordings

* fix(graphql-model-transformer): add custom queries link
  • Loading branch information
sundersc authored Jan 28, 2025
1 parent ea5dd67 commit 4a15939
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,11 @@ Declaring custom Query, Mutation, and/or Subscription with the same field names
`🛑 Object type extension 'Query' cannot redeclare field getBlogById`
</Callout>

<Callout info>
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/).

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).
</Callout>

## How it works

Expand Down

0 comments on commit 4a15939

Please sign in to comment.