I try to export a paragraph field with a rest export view, when I use a Entity Reference field I can export the Id node but with Entity reference versions module I only get a null field

How to reproduce:
* Create a paragraph field
* Add the field to some content type
* Create a view with a REST Export Display
* Add the paragraph field in the fields list

CommentFileSizeAuthor
Screenshot from 2016-04-05 13-54-16.png57.48 KBdmouse

Comments

dmouse created an issue. See original summary.

dmouse’s picture

I check the Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceIdFormatter and I copy the same code in Drupal\entity_reference_revisions\Plugin\Field\FieldFormatter\EntityReferenceRevisionsEntityFormatter however the result it's the same.

larowlan’s picture

idebr’s picture

Status: Active » Closed (duplicate)
Related issues: +#2931496: Add serializer for json/xml

There is another issue regarding serialization of Entity reference revision fields available #2931496: Add serializer for json/xml. I suggest we close this issue as a duplicate, so we can focus our efforts in the related issue.