Skip to content

Add FromFormOrJsonModelBinder for mixed multipart/form-data and JSON support #61857

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

Closed

Add FromFormOrJsonModelBinder for unified JSON and multipart request …

0472385
Select commit
Loading
Failed to load commit list.
Closed

Add FromFormOrJsonModelBinder for mixed multipart/form-data and JSON support #61857

Add FromFormOrJsonModelBinder for unified JSON and multipart request …
0472385
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed May 9, 2025 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

aspnetcore-quarantined-pr / Tests: Helix / Build shared fx

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinderProvider.cs(19,46): error CS1061: 'ModelMetadata' does not contain a definition for 'ParameterInfo' and no accessible extension method 'ParameterInfo' accepting a first argument of type 'ModelMetadata' could be found (are you missing a using directive or an assembly reference?)
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinder.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinderProvider.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)

aspnetcore-quarantined-pr / Tests: Windows x64 / Build

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinderProvider.cs(19,46): error CS1061: 'ModelMetadata' does not contain a definition for 'ParameterInfo' and no accessible extension method 'ParameterInfo' accepting a first argument of type 'ModelMetadata' could be found (are you missing a using directive or an assembly reference?)
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinder.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)
    ❌src\Mvc\Mvc.Core\src\ModelBinding\Binders\FromFormOrJsonModelBinderProvider.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)

aspnetcore-quarantined-pr / Tests: macOS / Build

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src/Mvc/Mvc.Core/src/ModelBinding/Binders/FromFormOrJsonModelBinderProvider.cs(19,46): error CS1061: 'ModelMetadata' does not contain a definition for 'ParameterInfo' and no accessible extension method 'ParameterInfo' accepting a first argument of type 'ModelMetadata' could be found (are you missing a using directive or an assembly reference?)
    ❌src/Mvc/Mvc.Core/src/ModelBinding/Binders/FromFormOrJsonModelBinder.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)
    ❌src/Mvc/Mvc.Core/src/ModelBinding/Binders/FromFormOrJsonModelBinderProvider.cs(1,1): error IDE0073: A source file is missing a required header. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0073)

17 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [aspnetcore-quarantined-pr] [aspnetcore-ci] [aspnetcore-components-e2e]

Was this helpful? Yes No