JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
A framework for building JSON:API compliant REST APIs using ASP.NET and Entity Framework Core.
#### DESCRIPTION Using the models described in #1639, the following request: ```http GET /manufacturers/1?include=vehicles.lights&page[size]=vehicles.lights:5 ``` fails with the following error: ```json { "links": { "self": "/manufacturers/1?include=vehicles.lights&page[size]=vehicles.lights:5" }, "errors": [ {...
Closes #1876 #### QUALITY CHECKLIST - [x] Changes implemented in code - [x] Complies with our [contributing guidelines](https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/.github/CONTRIBUTING.md) - [x] Adapted tests - [x] Documentation updated
This project originally used `int` (32-bit) as the ID type in resources. While that's not wrong, I believe we should default to `long` (64-bit) in docs, samples and most tests....
Closes #1500 #### QUALITY CHECKLIST - [x] Changes implemented in code - [x] Complies with our [contributing guidelines](https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/.github/CONTRIBUTING.md) - [x] Adapted tests - [x] Documentation updated
#### SUMMARY When generating OpenAPI with JADNC, the Swagger UI request example for creating a Person shows the JSON:API type (and nested discriminators) as "bars" instead of "people". This happens...
Updated [dotnet-reportgenerator-globaltool](https://github.com/danielpalme/ReportGenerator) from 5.5.0 to 5.5.1. Release notes _Sourced from [dotnet-reportgenerator-globaltool's releases](https://github.com/danielpalme/ReportGenerator/releases)._ ## 5.5.1 # Changes: - Added support for .NET 10 - #766: Added new setting "preserveTrailingEmptyLine". - #769:...
Basically revert #1867 and #1870.
For example, change: ```c# public string LastName { get; set; } = null!; ``` to: ```c# public required string LastName { get; set; } ``` Should also update in README.md,...
When `options.IncludeTotalResourceCount` is set to `true` and pagination is disabled, there's no need to fetch the total count upfront. We can simply count the number of resources returned to set...