Skip to content

Commit 1628b23

Browse files
committed
reword custom types intro
1 parent 6abd25d commit 1628b23

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/customize-authz

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/customize-authz/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ All Amplify Gen 2 projects enable IAM authorization for data access. This ensure
262262

263263
## Authorization on custom types
264264

265-
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:
265+
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, including custom types returned by custom operations. For example, consider a custom query that returns a custom type:
266266

267267
```ts
268268
const schema = a.schema({

0 commit comments

Comments
 (0)