Trying to assert on properties of ProblemDetails when testing, STJ could not deserialize the error JSON response due to the DTO having incorrect access modifiers for public properties, which has been corrected with this patch release.
v5.19.1 Patch Release
Fixes 🪲
An object disposed error was being thrown in subsequent requests for file collection submissions due to a flaw in the model binding logic, which has now been corrected.
v5.19 Release
✨ Looking For Sponsors ✨
FastEndpoints needs sponsorship to sustain the project. Please help out if you can.
New 🎉
The following types of properties can now be automatically model bound from file form data fields.
class Request
{
public IEnumerable<IFormFile> Cars { get; set; }
public List<IFormFile> Boats { get; set; }
public IFormFileCollection Jets { get; set; }
}
When submitting collections of form files, the incoming field names can be one of the following 3 formats:
Format One
Format Two
Format Three
# 1
Cars
Boats[1]
Jets[]
# 2
Cars
Boats[2]
Jets[]
... (truncated)
Commits
fc48777 Fix ProblemDetails serialization issue due to private setter properties
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps FastEndpoints from 5.3.2 to 5.19.2.
Release notes
Sourced from FastEndpoints's releases.
... (truncated)
Commits
fc48777
FixProblemDetails
serialization issue due to private setter properties4f655a5
update changelog5c3e284
fix #525d960e7f
v5.19 releasebd9daa7
beta 9 build4861e00
Fix #5114491898
Beta 7 build5791d01
update changelog27a90d2
changelog updates6573727
exposerequestexamples
propertyYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show