Skip to content

Commit 2661144

Browse files
committed
Notes on known issues.
1 parent 5cef5dd commit 2661144

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class GraphQLSettings
7070
}
7171
```
7272

73-
Type syntax - use `AuthorizeWith`.
73+
GraphType first syntax - use `AuthorizeWith`.
7474

7575
```csharp
7676
public class MyType : ObjectGraphType
@@ -83,7 +83,7 @@ public class MyType : ObjectGraphType
8383
}
8484
```
8585

86-
Schema + Handler syntax - use `GraphQLAuthorize` attribute.
86+
Schema first syntax - use `GraphQLAuthorize` attribute.
8787

8888
```csharp
8989
[GraphQLAuthorize(Policy = "MyPolicy")]
@@ -96,3 +96,7 @@ public class MutationType
9696
}
9797
}
9898
```
99+
100+
# Known Issues
101+
102+
* It is currently not possible to add a policy to Input objects using Schema first approach.

0 commit comments

Comments
 (0)