Commit cc145994 authored by alexpott's avatar alexpott

Issue #2575741 by Berdir: Priority of serialialization...

Issue #2575741 by Berdir: Priority of serialialization EntityReferenceFieldItemNormalizer must be lower than the one from hal
parent 1c3bfd3b
......@@ -24,7 +24,10 @@ services:
serializer.normalizer.entity_reference_field_item:
class: Drupal\serialization\Normalizer\EntityReferenceFieldItemNormalizer
tags:
- { name: normalizer, priority: 10 }
# Set the priority lower than the hal entity reference field item
# normalizer, so that we do not replace that for hal_json.
# @todo Find a better way for this in https://www.drupal.org/node/2575761.
- { name: normalizer, priority: 5 }
serializer.normalizer.list:
class: Drupal\serialization\Normalizer\ListNormalizer
tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment