Skip to content

Commit e71c1c2

Browse files
authored
fix: clarify callout wording
1 parent d902003 commit e71c1c2

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ The order in which the Query types are extended does not affect the compilation
11431143
4. Add functionality to the fields of the extended type using Amplify directives. Amplify supports the `@auth`, `@function`, and `@http` directives on fields of `Query`, `Mutation`, and `Subscription` type extensions. Alternately, 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/) rather than Amplify directives.
11441144

11451145
<Callout info>
1146-
Amplify directives are not supported on extended type definitions themselves (e.g., `extend type Todo @auth...`), or on fields of types other than `Query`, `Mutation`, and `Subscription`.
1146+
Amplify directives are not supported on extended type definitions themselves (e.g., `extend type Todo @auth...`), or on fields of extended types other than `Query`, `Mutation`, and `Subscription`.
11471147
</Callout>
11481148

11491149
## How it works

0 commit comments

Comments
 (0)