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: UPGRADE-1.0.md
+35-2Lines changed: 35 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ UPGRADE FROM 0.13 to 1.0
4
4
# Table of Contents
5
5
6
6
-[Customize the cursor encoder of the edges of a connection](#customize-the-cursor-encoder-of-the-edges-of-a-connection)
7
-
-[Change arguments of TypeGenerator](#change-arguments-of-typegenerator)
7
+
-[Change arguments of `TypeGenerator`](#change-arguments-of-typegenerator)
8
+
-[Add magic `__get` method to `ArgumentInterface` and `Argument`](#add-magic-__get-method-to-argumentinterface-and-argument)
8
9
9
10
### Customize the cursor encoder of the edges of a connection
10
11
@@ -34,7 +35,7 @@ $connectionBuilder = new ConnectionBuilder(
34
35
35
36
### Change arguments of `TypeGenerator` class
36
37
37
-
The `TypeGenerator` service is used internally for GraphQL types compilation. If you overridden the service definition,
38
+
The `Overblog\GraphQLBundle\Generator\TypeGenerator` service is used internally for GraphQL types compilation. If you overridden the service definition,
38
39
please take into account the new constructor signature:
39
40
40
41
```diff
@@ -51,3 +52,35 @@ public function __construct(
51
52
) {
52
53
```
53
54
`TypeBuilder` here is a new service `Overblog\GraphQLBundle\Generator\TypeBuilder`, which is also used internally.
55
+
56
+
### Add magic `__get` method to `ArgumentInterface` and `Argument`
57
+
58
+
The interface `Overblog\GraphQLBundle\Definition\ArgumentInterface` as well as implementing it class
59
+
`Overblog\GraphQLBundle\Definition\Argument` now have the magic `__get` method:
0 commit comments