Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Resources/config/routing/graphql.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
overblog_graphql_endpoint:
path: /
defaults:
_controller: overblog_graphql.controller.graphql:endpointAction
_controller: Overblog\GraphQLBundle\Controller\GraphController::endpointAction
_format: "json"

overblog_graphql_batch_endpoint:
path: /batch
defaults:
_controller: overblog_graphql.controller.graphql:batchEndpointAction
_controller: Overblog\GraphQLBundle\Controller\GraphController::batchEndpointAction
_format: "json"

overblog_graphql_multiple_endpoint:
path: /graphql/{schemaName}
defaults:
_controller: overblog_graphql.controller.graphql:endpointAction
_controller: Overblog\GraphQLBundle\Controller\GraphController::endpointAction
_format: "json"

overblog_graphql_batch_multiple_endpoint:
path: /graphql/{schemaName}/batch
defaults:
_controller: overblog_graphql.controller.graphql:batchEndpointAction
_controller: Overblog\GraphQLBundle\Controller\GraphController::batchEndpointAction
_format: "json"
4 changes: 4 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ services:
- "@overblog_graphql.request_parser"
- "%overblog_graphql.handle_cors%"
- "%overblog_graphql.batching_method%"

Overblog\GraphQLBundle\Controller\GraphController:
public: true
alias: 'overblog_graphql.controller.graphql'

overblog_graphql.command.dump_schema:
class: Overblog\GraphQLBundle\Command\GraphQLDumpSchemaCommand
Expand Down