Skip to content

Commit

Permalink
[shopsys] graphql validation errors now contain violation list in the…
Browse files Browse the repository at this point in the history
… additional data and allow change the log level (#2889)
  • Loading branch information
grossmannmartin authored Oct 25, 2023
1 parent c1748e3 commit b5b7537
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/config/packages/overblog_graphql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ overblog_graphql:
enable_introspection: '%kernel.debug%'
services:
promise_adapter: "webonyx_graphql.sync_promise_adapter"
errors_handler:
logger_service: Shopsys\FrontendApiBundle\Model\Logger\FrontendApiLogger
3 changes: 3 additions & 0 deletions app/config/parameters_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ parameters:
shopsys.cron_timezone: Europe/Prague
shopsys.image.enable_lazy_load: true
admin_url: 'admin'

# Set to true to log validation errors with log level ERROR instead of INFO
shopsys.frontend_api.validation_logged_as_error: false

0 comments on commit b5b7537

Please sign in to comment.