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
Add schema name as Executor argument & fix default schema
- Add schemaName in the ExecutorArgumentsEvent
- Make the GraphQL collector retrieve schema from ExecutorArgument instead of routing
- Consider default schema as the one with name 'default' or the first one defined
- Apply same logic to Annotation Parser
- Update doc
Copy file name to clipboardExpand all lines: docs/annotations/annotations-reference.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -386,7 +386,7 @@ The class exposing the mutation(s) must be declared as a [service](https://symfo
386
386
387
387
Optional attributes:
388
388
389
-
-**targetType** : The GraphQL type to attach the field to. It must be a mutation. (by default, it'll be the root Mutation type of the default schema).
389
+
-**targetType** : The GraphQL type to attach the field to. It must be a mutation. (by default, it'll be the root Mutation type of the default schema. see [Default Schema](../definitions/schema.md#default-schema)).
390
390
391
391
Example:
392
392
@@ -436,7 +436,7 @@ The class exposing the query(ies) must be declared as a [service](https://symfon
436
436
437
437
Optional attributes:
438
438
439
-
-**targetType** : The GraphQL type to attach the field to (by default, it'll be the root Query type of the default schema).
439
+
-**targetType** : The GraphQL type to attach the field to (by default, it'll be the root Query type of the default schema. see [Default Schema](../definitions/schema.md#default-schema)).
0 commit comments