Skip to content

Commit

Permalink
Break on supported denormalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Jan 31, 2021
1 parent dbd37c0 commit b9c8310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Identifier/IdentifierConverter.php
Expand Up @@ -69,6 +69,7 @@ public function convert($data, string $class, array $context = []): array

try {
$identifiers[$identifier] = $identifierTransformer->denormalize($value, $type);
break;
} catch (InvalidIdentifierException $e) {
throw new InvalidIdentifierException(sprintf('Identifier "%s" could not be denormalized.', $identifier), $e->getCode(), $e);
}
Expand Down

0 comments on commit b9c8310

Please sign in to comment.