You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ New features:
18
18
- Unauthorized access to fields can now generate GraphQL errors (rather that schema errors in GraphQLite v3)
19
19
- Added fine-grained security using the `@Security` annotation. A field can now be [marked accessible or not depending on the context](fine-grained-security.md).
20
20
For instance, you can restrict access to the field "viewsCount" of the type `BlogPost` only for post that the current user wrote.
21
+
- You can now inject the current logged user in any query / mutation / field using the `@InjectUser` annotation
21
22
- Performance:
22
23
- You can inject the [Webonyx query plan in a parameter from a resolver](query_plan.md)
23
24
- You can use the [dataloader pattern to improve performance drastically via the "prefetchMethod" attribute](prefetch_method.md)
returnnewself('type "' . $subTypeName . '" must be an input type.');
86
+
returnnewself('type "' . $subTypeName . '" must be an input type (if you declared an input type with the name "' . $subTypeName . '", make sure that there are no output type with the same name as this is forbidden by the GraphQL spec).');
$this->expectExceptionMessage('For parameter $inAndOut, in TheCodingMachine\\GraphQLite\\Fixtures\\InputOutputNameConflict\\Controllers\\InAndOutController::testInAndOut, type "InAndOut" must be an input type (if you declared an input type with the name "InAndOut", make sure that there are no output type with the same name as this is forbidden by the GraphQL spec).');
0 commit comments