File tree 1 file changed +2
-2
lines changed
documentation/docs/graphql
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export class TodoItemModule {}
80
80
81
81
## @Authorize Decorator
82
82
83
- The ` @nestjs-query/query-graphql ` package includes a ` @Authorize ` decorator that allows you to add additional filter
83
+ The ` @nestjs-query/query-graphql ` package includes an ` @Authorize ` decorator that allows you to add additional filter
84
84
criteria to authorize an incoming request.
85
85
86
86
The ` @Authorize ` decorator accepts the following types.
@@ -93,7 +93,7 @@ The `@Authorize` decorator accepts the following types.
93
93
The ` @Authorize ` decorator does not return an unauthorized error instead the following will occur:
94
94
95
95
- ` queryMany ` results will not include any DTOs that do not match the filter criteria.
96
- - ` findOne ` will return a not found for a DTO that is cannot be found for the ` id ` and auth filter.
96
+ - ` findOne ` will return a not found for a DTO that cannot be found for the ` id ` and auth filter.
97
97
- ` updateOne ` will return a not found error if the DTO to update cannot be found for the ` id ` and auth filter.
98
98
- ` updateMany ` will exclude any records that do not match the user provided filter and the auth filter from being
99
99
updated.
You can’t perform that action at this time.
0 commit comments