Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.25.0 #117

Merged
merged 11 commits into from
Sep 10, 2024
Merged

v3.25.0 #117

merged 11 commits into from
Sep 10, 2024

Conversation

chullybun
Copy link
Collaborator

  • Enhancement: Added new CoreEx.Data project/package to encapsulate all generic data-related capabilities, specifically the new QueryFilterParser and QueryOrderByParser classes. These enable a limited, explicitly supported, dynamic capability to $filter and $orderby an underlying query similar to OData. This is not intended to be a replacement for the full capabilities of OData, GraphQL, etc. but to offer basic dynamic flexibility where needed.
    • Added IQueryable<T>.Where() and IQueryable<T>.OrderBy extension method that will use the aforementioned parsers configured within the new QueryArgsConfig and QueryArgs and apply leveraging System.Linq.Dynamic.Core.
    • Updated HttpRequestOptions and WebApiRequestOptions to support QueryArgs ($filter and $orderby query string arguments) similar to the existing PagingArgs.
    • Added QueryAttribute to enable Swagger/Swashbuckle generated documentation.
  • Fixed: Fixed missing IServiceCollection.AddCosmosDb including corresponding CosmosDbHealthCheck.
  • Fixed: Added JsonIgnore to all interfaces that have a CompositeKey property as not intended to be serialized by default.
  • Fixed: Fixed ReferenceDataCollectionBase<TId, TRef, TSelf> constructor which was hiding sortOrder and codeComparer parameters.

- *Fixed:* Fixed missing `IServiceCollection.AddCosmosDb` including corresponding `CosmosDbHealthCheck`.
- *Fixed:* Added `JsonIgnore` to all interfaces that have a `CompositeKey` property as not intended to be serialized by default.
- *Fixed:* Fixed `ReferenceDataCollectionBase<TId, TRef, TSelf>` constructor which was hiding `sortOrder` and `codeComparer` parameters.
- *Enhancement:* Added `CoreEx.Data` namespace to encapsulate all data-related capabilities, specifically the new `QueryFilterParser` and `QueryOrderByParser` classes. These enable a limited, explicitly supported, dynamic capability to [`$filter`](https://docs.oasis-open.org/odata/odata/v4.01/cs01/part2-url-conventions/odata-v4.01-cs01-part2-url-conventions.html#sec_SystemQueryOptionfilter) and `$orderby` an underlying query similar to _OData_. This is **not** intended to be a replacement for the full capabilities of OData, GraphQL, etc. where needed.
  - Added `IQueryable<T>.WithQuery()` that will use the aforementioned parsers configured within the new `QueryArgsConfig` and `Entity.QueryArgs` and apply leveraging `System.Linq.Dynamic.Core`.
  - Updated `HttpRequestOptions` and `WebApiRequestOptions` to support `QueryArgs` (`$filter` and `$orderby` query string arguments) similar to the existing `PagingArgs`.
  - Added `QueryAttribute` to enable _Swagger/Swashbuckle_ generated documentation.
- *Fixed:* Fixed missing `IServiceCollection.AddCosmosDb` including corresponding `CosmosDbHealthCheck`.
- *Fixed:* Added `JsonIgnore` to all interfaces that have a `CompositeKey` property as not intended to be serialized by default.
- *Fixed:* Fixed `ReferenceDataCollectionBase<TId, TRef, TSelf>` constructor which was hiding `sortOrder` and `codeComparer` parameters.
…espace. Further improvements and testing.
@chullybun chullybun merged commit 7fad510 into main Sep 10, 2024
2 checks passed
@chullybun chullybun deleted the v3.25.0 branch September 10, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant