AspNetCoreOData
AspNetCoreOData copied to clipboard
ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core
**Assemblies affected** ``` ``` **Describe the bug** Before bumping version optional function parameter was passed as query but is not in path. **Data Model** ``` var subscription = builder.EntityType().HasKey(x =>...
This old issue still is present in the latest AspNetCoreOData Version 8.2.3: https://github.com/OData/WebApi/issues/1712
I can specify [EnableQuery(PageSize = 1)] Which returns 1 item ``` { "@odata.context": "", "value": [ { "id": "caaac39-b1f4-4fee-d2d2-08d951a5b8b7", "name": "Test.txt", "description": "" } ], "@odata.nextLink": "...$skip=1" } ``` When...
**Assemblies affected** ASP.NET Core OData 8.x **Describe the bug** When doing an `$orderby` on an Enum data type, hitting the `nextLink` in the `$skipToken` fails with an exception. The following...
When the `IServiceCollection.AddOData()` extension method is called, conventional and attribute routes are added. When the path template specified on an `[HttpMethod]` attribute is the same as the path template generated...
OData 8.2.3 I'm trying something like: `http://localhost:5066/odata/Table?$count=true&$top=100&$orderby=cast(source_id,Edm.Int32)` And I've got this error: ``` { "error": { "code": "", "message": "The query specified in the URI is not valid. Only ordering...
**Assemblies affected** ASP.NET Core OData 8.x **Describe the bug** `NextLink` does not have `$skipToken` even when configured, but instead has `$skip` when a `$compute` expression is used in the request....
OData uses 'instance annotation' to provide extra data for resource or even for the properties. See https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#sec_InstanceAnnotations for details. OData.ModelBuilder introduces 'IODataInstanceAnnotationContainer' to hold the instance annotation values for resource...
Hi, Is it possible to handle PATCH requests while using a dynamic model (similar to this one https://github.com/OData/AspNetCoreOData/tree/main/sample/ODataDynamicModel)? The `Delta` class requires a type we don't have because our model...
This is an intentional duplicate of #619. I wonder if that issue lost visibility because of the way it went down a rabbit hole. The underlying problem was hashed out...