Expose "expanding" state in API value conversion (#14312)
* Expose "expanding" state in API value conversion * Add unit test * Add non-breaking and obsoletion * Add compat suppressions
This commit is contained in:
@@ -279,6 +279,6 @@ public class NestedContentTests
|
||||
throw new InvalidOperationException("This method won't be implemented.");
|
||||
|
||||
public override object GetDeliveryApiValue(bool expanding, string culture = null, string segment = null) =>
|
||||
PropertyType.ConvertInterToDeliveryApiObject(_owner, ReferenceCacheLevel, InterValue, _preview);
|
||||
PropertyType.ConvertInterToDeliveryApiObject(_owner, ReferenceCacheLevel, InterValue, _preview, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user