Skip to content

Various fixes #731

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 35 commits into from
May 8, 2020
Merged

Various fixes #731

merged 35 commits into from
May 8, 2020

Conversation

bart-degreed
Copy link
Contributor

@bart-degreed bart-degreed commented May 4, 2020

Note that one test (sparse fieldsets with resource context injection) was added in disabled state, due to a bug in EF Core 3.1.

Bart Koelman added 30 commits April 14, 2020 17:11
…h an invalid content type. This change additionally allows extensions proposed at json-api/json-api#1437. Added test + fixes for running an endpoint that is not exposed through JsonApiDotNetCore (and we should not interfere)
Fixed: filter out duplicate selections
Fixed: Top-level fields were missing when selecting only related fields
Fixed: Select all fields when sparse fieldset contains a read-only property
…xpose them as DbSet properties on DbContext). Removed error on duplicates, to enable first scanning EF Core models, then add all resource definitons etc. from the assembly.
Inlined RelationshipAttribute.InternalRelationshipName
Explicit interface implementation and property rename
Inlined IsHasOne/IsHasMany on RelationshipAttribute
Replaced usages of DateTime.Now with ISystemClock or constants
Added IResourceFactory/DefaultResourceFactory to abstract creating resource instances
@bart-degreed bart-degreed requested a review from maurei May 7, 2020 16:00
@bart-degreed bart-degreed merged commit 36bc489 into json-api-dotnet:master May 8, 2020
@bart-degreed bart-degreed deleted the various-fixes branch May 8, 2020 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment