Skip to content

Merge master into openapi (retry) #1130

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

Merged
merged 13 commits into from
Dec 14, 2021
Merged

Conversation

bart-degreed
Copy link
Contributor

@bart-degreed bart-degreed commented Dec 14, 2021

Merge master into openapi (retry)

Green build (no inspectcode/cleanupcode) at https://ci.appveyor.com/project/json-api-dotnet/jsonapidotnetcore/builds/41882038.

Bart Koelman added 12 commits December 1, 2021 11:36
* Removed Interface target from custom attributes, because it does not work (see https://stackoverflow.com/questions/540749/can-a-c-sharp-class-inherit-attributes-from-its-interface). Fixed detection of attribute usage on base classes.

* Auto-generation of JSON:API controllers (using source generators)

* Updated integration tests to use auto-generated controllers

* Fixed: throw at startup when multiple controllers are registered for the same resource type

* Addressed cleanupcode/inspectcode issues

* Add dependency from JsonApiDotNetCore to SourceGenerators, so it gets pulled in via NuGet

* Added unit tests for controller source generator

* Update ROADMAP.md

* Updated documentation

* Produce NuGet package in cibuild
This lets each project opt-in for producing a NuGet package, instead of listing them globally

* Addressed review feedback
* Update to .NET 6 with EF Core 6

* Adapt to changes in nullability annotations

* Adapt for breaking changes in PostgreSQL provider for EF Core 6

* Cleanup tests for handling special characters

* Removed workaround for dotnet/efcore#21026

* Removed workaround for dotnet/aspnetcore#33394

* Removed workaround for dotnet/aspnetcore#32097

* Removed workaround for dotnet/efcore#21234

* Updated to latest Resharper version and removed workarounds for earlier versions

* Applied new Resharper suggestions

* Package updates

* Renamed MSBuild variables

* Inlined MSBuild variables that are used only once

* Removed .BeCloseTo, now that fakers truncate time to whole milliseconds. Removed runtime casts, because the JSON deserializer now creates the correct types (based on the resource graph).

* Narrow service scope lifetime

* Enable registered services to dispose asynchronously, where possible

* Workaround for bug in cleanupcode

* Fixed detection of implicit many-to-many join entity in EF Core 6

* Activate implicit usings

* Switched to file-scoped namespaces

* Reformat solution

* Added [NoResource] to suppress startup warning

* Use Minimal Hosting APIs

* Removed duplicate code

* Corrected terminology for generic type usage

* Fixed warning: Type 'KnownResource' does not contain any attributes

* Updated roadmap and version table

* Fixed: Override IIdentifiable.Id with custom capabilities no longer worked

* Review feedback
* Moved resource-related attributes and (I)Identifiable to separate package

* Fixed broken links in doc-comments

* Update ROADMAP.md
@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

❗ No coverage uploaded for pull request base (openapi@ec2e678). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head c7b5b60 differs from pull request most recent head 72fb125. Consider uploading reports for the commit 72fb125 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             openapi    #1130   +/-   ##
==========================================
  Coverage           ?   89.43%           
==========================================
  Files              ?      301           
  Lines              ?     8263           
  Branches           ?        0           
==========================================
  Hits               ?     7390           
  Misses             ?      873           
  Partials           ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec2e678...72fb125. Read the comment docs.

@bart-degreed bart-degreed force-pushed the merge-master-into-openapi-retry branch from c7b5b60 to 72fb125 Compare December 14, 2021 09:36
@bart-degreed bart-degreed requested a review from maurei December 14, 2021 09:38
@bart-degreed bart-degreed merged commit fa28605 into openapi Dec 14, 2021
@bart-degreed bart-degreed deleted the merge-master-into-openapi-retry branch December 14, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants