Add a denormalizer for fetching entities by id

This commit is contained in:
2021-05-11 20:37:56 +02:00
parent a4989f99d6
commit a448405ce5
3 changed files with 50 additions and 16 deletions

View File

@@ -3,6 +3,12 @@ parameters:
services:
Chill\MainBundle\Serializer\Normalizer\:
resource: '../Serializer/Normalizer'
autowire: true
tags:
- { name: 'serializer.normalizer', priority: 64 }
chill.main.helper.translatable_string:
class: Chill\MainBundle\Templating\TranslatableStringHelper
arguments: