标签: c# asp.net-core odata asp.net-core-2.2
我一直在寻找如何限制$expand深度的方法。有一个设置MaxExpansionDepth,但只能应用于实体,方法或控制器。有没有办法在全球范围内更改它?
$expand
MaxExpansionDepth