Closed (won't fix)
Project:
Default Content
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 May 2017 at 12:06 UTC
Updated:
19 Jul 2020 at 12:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirHere's a first patch, untested.
Comment #3
berdirIf you're wondering, nested _embedded does seem to be supported in the standard according to https://danmessenger.wordpress.com/2014/07/15/haljson-embedded-inside-em...
Comment #4
andypostImo better to get this in first and later iterate on refactoring
Comment #5
larowlanLooks good.
Should we add some sort of recursion detection? Is it possible that there might be a circular _embedded scenario?
Would be good to get a test in here too, happy to add paragraphs as a
test_dependencyComment #6
berdirThis is a plain array parsed from JSON. I'm pretty sure there is no real use case which could have a recursion?
Comment #7
berdirThis is no longer required in 2.0.x, the normalization puts all dependencies into the root meta info.