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/annotations/annotations-reference.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -381,12 +381,12 @@ class SecretArea {
381
381
## @Mutation
382
382
383
383
This annotation applies on methods for classes tagged with the `@Provider` annotation. It indicates that the method on this class will resolve a Mutation field.
384
-
The corresponding GraphQL field is added to the GraphQL type(s) following the logic:
385
-
- The type(s) specified in the `targetType` attribute of the `@Mutation` annotation if it defined.
384
+
The corresponding GraphQL field is added to the GraphQL type(s) following the logic:
385
+
- The type(s) specified in the `targetType` attribute of the `@Mutation` annotation if it's defined.
386
386
or
387
-
- The type(s) specified in the `targetTypeMutation` attribute of the `@Provider` annotation if it is defined.
387
+
- The type(s) specified in the `targetTypeMutation` attribute of the `@Provider` annotation if it's defined.
388
388
or
389
-
- The root Query type of the default schema (define in configuration at key `overblog_graphql.definitions.schema.mutation` or `overblog_graphql.definitions.schema.default.mutation`).
389
+
- The root Query type of the default schema (defined in configuration at key `overblog_graphql.definitions.schema.mutation` or `overblog_graphql.definitions.schema.default.mutation`).
390
390
391
391
The class exposing the mutation(s) must be declared as a [service](https://symfony.com/doc/current/service_container.html).
392
392
@@ -432,19 +432,19 @@ You can use `@Access` and/or `@IsPublic` on a provider class to add default acce
432
432
433
433
Optional attributes:
434
434
435
-
-**prefix**: A prefix to apply to all field names from this provider
436
-
-**targetTypeQuery**: The default GraphQL type(s) to attach the provider `@Query` to
437
-
-**targetTypeMutation**: The default GraphQL type(s) to attach the provider `@Mutation` to
435
+
-**prefix**: A prefix to apply to all field names from this provider
436
+
-**targetTypeQuery**: The default GraphQL type(s) to attach the provider `@Query` to
437
+
-**targetTypeMutation**: The default GraphQL type(s) to attach the provider `@Mutation` to
438
438
439
439
## @Query
440
440
441
441
This annotation applies on methods for classes tagged with the `@Provider` annotation. It indicates that on this class a method will resolve a Query field.
442
-
The corresponding GraphQL field is added to the GraphQL type(s) following the logic:
443
-
- The type(s) specified in the `targetType` attribute of the `@Query` annotation if it defined.
442
+
The corresponding GraphQL field is added to the GraphQL type(s) following the logic:
443
+
- The type(s) specified in the `targetType` attribute of the `@Query` annotation if it's defined.
444
444
or
445
-
- The type(s) specified in the `targetTypeQuery` attribute of the `@Provider` annotation if it is defined.
445
+
- The type(s) specified in the `targetTypeQuery` attribute of the `@Provider` annotation if it's defined.
446
446
or
447
-
- The root Query type of the default schema (define in configuration at key `overblog_graphql.definitions.schema.query` or `overblog_graphql.definitions.schema.default.query`).
447
+
- The root Query type of the default schema (defined in configuration at key `overblog_graphql.definitions.schema.query` or `overblog_graphql.definitions.schema.default.query`).
448
448
449
449
The class exposing the query(ies) must be declared as a [service](https://symfony.com/doc/current/service_container.html).
0 commit comments