Skip to content

Commit 81c96d2

Browse files
authored
Merge pull request #356 from mcg-web/apply_patch_sf_4_1_deprecation_message
Apply patch to remove Symfony 4.1 deprecation message
2 parents 878ab23 + 89afee3 commit 81c96d2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
overblog_graphql_endpoint:
22
path: /
33
defaults:
4-
_controller: overblog_graphql.controller.graphql:endpointAction
4+
_controller: Overblog\GraphQLBundle\Controller\GraphController::endpointAction
55
_format: "json"
66

77
overblog_graphql_batch_endpoint:
88
path: /batch
99
defaults:
10-
_controller: overblog_graphql.controller.graphql:batchEndpointAction
10+
_controller: Overblog\GraphQLBundle\Controller\GraphController::batchEndpointAction
1111
_format: "json"
1212

1313
overblog_graphql_multiple_endpoint:
1414
path: /graphql/{schemaName}
1515
defaults:
16-
_controller: overblog_graphql.controller.graphql:endpointAction
16+
_controller: Overblog\GraphQLBundle\Controller\GraphController::endpointAction
1717
_format: "json"
1818

1919
overblog_graphql_batch_multiple_endpoint:
2020
path: /graphql/{schemaName}/batch
2121
defaults:
22-
_controller: overblog_graphql.controller.graphql:batchEndpointAction
22+
_controller: Overblog\GraphQLBundle\Controller\GraphController::batchEndpointAction
2323
_format: "json"

Resources/config/services.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ services:
121121
- "@overblog_graphql.request_parser"
122122
- "%overblog_graphql.handle_cors%"
123123
- "%overblog_graphql.batching_method%"
124+
125+
Overblog\GraphQLBundle\Controller\GraphController:
126+
public: true
127+
alias: 'overblog_graphql.controller.graphql'
124128

125129
overblog_graphql.command.dump_schema:
126130
class: Overblog\GraphQLBundle\Command\GraphQLDumpSchemaCommand

0 commit comments

Comments
 (0)