我有一个以ODataAdaptor作为数据源的组件,现在我想用$expand查询发出一个补丁请求,就像我为 GET 请求所做的那样(因为 GET 请求公开支持 $expand 查询)。但我不知道它是否被接受,或者有什么其他方法可以解决这个问题?
实际请求:http://localhost:49807/odata/Orders(10249)
预期请求:http://localhost:49807/odata/Orders(10249)/ ?$expand=OrderDetail($select=CustomerID)
在补丁请求中使用 $expand 查询。