contentful.py icon indicating copy to clipboard operation
contentful.py copied to clipboard

Embedded videos within rich text fields do not get properly serialized when calling `.raw` on the entry

Open kyle-kc opened this issue 8 months ago • 1 comments

If an entry has a rich text field, and that rich text field contains an embedded video, calling entry.raw will result in a JSON object which still contains the embedded Entry item, rather than recursively calling .raw on the embedded item as well. This is particularly a problem with JSON serialization as the Entry type is not serializable.

kyle-kc avatar Jun 21 '24 14:06 kyle-kc