Skip to content

Commit 2f92e74

Browse files
TatevikGrtatevikg1
andauthored
Fix missing AsyncEmailMessageHandler service + graylog config + serializer (#345)
Co-authored-by: Tatevik <[email protected]>
1 parent ee284c0 commit 2f92e74

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

config/config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ framework:
2020
validation:
2121
enable_attributes: true
2222
email_validation_mode: html5
23-
#serializer: { enable_annotations: true }
23+
serializer:
24+
enabled: true
25+
name_converter: 'serializer.name_converter.camel_case_to_snake_case'
2426
#templating:
2527
#engines: ['twig']
2628
default_locale: '%locale%'
@@ -37,8 +39,5 @@ framework:
3739
assets: ~
3840
php_errors:
3941
log: true
40-
serializer:
41-
enabled: true
42-
enable_attributes: true
4342
mailer:
4443
dsn: '%app.mailer_dsn%'

config/config_prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ monolog:
77
graylog:
88
type: gelf
99
publisher:
10-
hostname: '%app.config.graylog_host%'
11-
port: '%app.config.graylog_port%'
10+
hostname: '%graylog_host%'
11+
port: '%graylog_port%'
1212
level: error
1313
# Local file logging as backup
1414
main:

config/services/messenger.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ services:
1010
tags: [ 'messenger.message_handler' ]
1111
arguments:
1212
$confirmationUrl: '%app.confirmation_url%'
13+
14+
PhpList\Core\Domain\Messaging\MessageHandler\AsyncEmailMessageHandler:
15+
autowire: true
16+
autoconfigure: true
17+
tags: [ 'messenger.message_handler' ]

0 commit comments

Comments
 (0)