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
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
3.10.1 (unreleased):
* Fix: autoincrement fields are now properly registered when using attributes
* Fix: allow null when using symfony/serializer

3.10.0 (2025-03-14):
* Feature: Allow complex types to be handled by symfony/serializer if available
Expand Down
3 changes: 3 additions & 0 deletions src/TingBundle/Serializer/SymfonySerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public function serialize($toSerialize, array $options = [])

public function unserialize($serialized, array $options = [])
{
if ($serialized === null) {
return null;
}
$this->throwOnNullSerializer();
if (!isset($options['type'])) {
throw new \RuntimeException('SymfonySerializer requires type option to be set');
Expand Down