Open EvanIreland opened 7 years ago
For this request:
http://services.odata.org/V4/Northwind/Northwind.svc/Products?$filter=(ProductID eq cast(1,Edm.Int32))
server responds with 400 Bad request
However, this works with the server
http://services.odata.org/V4/Northwind/Northwind.svc/Products?$filter=ProductID eq cast(1, 'Edm.Int32')
OData V4 ABNF requires that type name be unquoted. So the sample service needs fixing.
For this request:
http://services.odata.org/V4/Northwind/Northwind.svc/Products?$filter=(ProductID eq cast(1,Edm.Int32))
server responds with 400 Bad request
However, this works with the server
http://services.odata.org/V4/Northwind/Northwind.svc/Products?$filter=ProductID eq cast(1, 'Edm.Int32')
OData V4 ABNF requires that type name be unquoted. So the sample service needs fixing.