Implement global circular reference handler in line with latest symfony practices and remove now redundant code from current normalizers

This commit is contained in:
2025-10-01 14:55:24 +02:00
parent d4379cef6a
commit f17ed7a4f8
6 changed files with 68 additions and 55 deletions

View File

@@ -0,0 +1,4 @@
framework:
serializer:
enabled: true
enable_attributes: true

View File

@@ -18,3 +18,8 @@ services:
Chill\MainBundle\ArgumentResolver\EntityValueResolver:
tags:
- { name: controller.argument_value_resolver, priority: 50 }
Chill\MainBundle\Serializer\CircularReferenceHandler:
public: false
tags:
- { name: 'serializer.circular_reference_handler' }