OpenApiQuery
OpenApiQuery copied to clipboard
OData based query language for your ASP.net core APIs
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.2. Release notes Sourced from Newtonsoft.Json's releases. 13.0.2 New feature - Add support for DateOnly and TimeOnly New feature - Add UnixDateTimeConverter.AllowPreEpoch property New feature...
Just to know, are you going to deploy the library on NuGet? I guess when it will be online it could have more interest from the community!
Sometimes you want to add more restrictions on the way clients can query data. This includes - Prevent use of some query options completely - Limit the max sizes of...
There was a request in #1 to maybe support some additional values as part of $count. * $count=true would be equal to $count=count * $count=count,top,skip would include values as per...
Enums need proper handling in the expression parser regarding intenum and stringenum conversions.
The expression parser is not really properly tested. A test suite should be added. A good starting point would be https://docs.oasis-open.org/odata/odata/v4.01/csprd06/abnf/odata-abnf-testcases.xml
OData supports polymorphism via "@odata.type" annotations in objects. OpenApiQuery should support this too. Currently it is problematic as the deserializer cannot parse the JSON bind properties until @odata.type is known....
Many people might still be using JSON.net for serialization, OpenApiQuery should provide corresponding serialization mechanisms. Currently only System.Text.Json is supported.
Currently the query execution is done synchronous. We need to do an asynchronous enumeration. Like Entity Framework provides it or via some as async enumerable.
The OpenAPI specification provided by SwashBuckle should be used for serializing/deserializing types as per definition there. Also the query parameters should be documented accordingly.