Skip to content

Commit

Permalink
Fix static-analysis & update UPGRADE-1.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
murtukov committed Jan 14, 2021
1 parent f8716d7 commit fb977ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions UPGRADE-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ UPGRADE FROM 0.13 to 1.0
- [Change arguments of `TypeGenerator`](#change-arguments-of-typegenerator-class)
- [Add magic `__get` method to `ArgumentInterface` implementors](#add-magic-__get-method-to-argumentinterface-implementors)
- [Rename `GlobalVariables` to `GraphQLServices`](#rename-globalvariables-to-graphqlservices)
- [Change `overblog_graphql.global_variable` tag](#change-overblog_graphqlglobal_variable-tag)
- [Change `resolver` expression function](#change-resolver-expression-function)
- [Replace `overblog_graphql.global_variable` tag](#replace-overblog_graphqlglobal_variable-tag)
- [Replace `resolver` expression function](#replace-resolver-expression-function)
- [Rename `ResolverInterface` to `QueryInterface`](#rename-resolverinterface-to-queryinterface)

### Customize the cursor encoder of the edges of a connection
Expand Down Expand Up @@ -98,13 +98,13 @@ The `GlobalVariables` class was renamed into `GraphQLServices` to better reflect
passed to all generated GraphQL types.


### Change `overblog_graphql.global_variable` tag
### Replace `overblog_graphql.global_variable` tag

If you have any services tagged with `overblog_graphql.global_variable`, they should now be tagged with
`overblog_graphql.graphql_service` instead.
`overblog_graphql.service` instead.


### Change `resolver` expression function
### Replace `resolver` expression function

The signature of the `resolver` expression function has been changed.

Expand Down
2 changes: 1 addition & 1 deletion src/Generator/TypeBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ protected function buildType(string $typeDefinition)
*
* @param mixed $typeNode
*
* @return DependencyAwareGenerator|string
* @return Literal|string
*/
protected function wrapTypeRecursive($typeNode, bool &$isReference)
{
Expand Down

0 comments on commit fb977ee

Please sign in to comment.