Skip to content

Commit

Permalink
reword custom types intro
Browse files Browse the repository at this point in the history
  • Loading branch information
palpatim committed Nov 5, 2024
1 parent e6b8989 commit 6abd25d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ All Amplify Gen 2 projects enable IAM authorization for data access. This ensure

## Authorization on custom types

Authorization rules are only supported on data models (model-level and field-level) and custom operations (queries, mutations and subscriptions). They are not fully supported on custom types. In particular, this means custom operations that return a custom type won't always be authorized the way you expect. For example, consider a custom query that returns a custom type:
Authorization rules are only supported on data models (model-level and field-level) and custom operations (queries, mutations and subscriptions). They are not fully supported on custom types. In particular, this means custom operations that return a custom type won't always support the authorization modes you expect. For example, consider a custom query that returns a custom type:

```ts
const schema = a.schema({
Expand Down

0 comments on commit 6abd25d

Please sign in to comment.