Skip to content

Fix issue with FromForm and enums for Controllers#3164

Merged
martincostello merged 2 commits intodomaindrivendev:masterfrom
jgarciadelanoceda:issue_3163_FromFormAndEnums
Nov 22, 2024
Merged

Fix issue with FromForm and enums for Controllers#3164
martincostello merged 2 commits intodomaindrivendev:masterfrom
jgarciadelanoceda:issue_3163_FromFormAndEnums

Conversation

@jgarciadelanoceda
Copy link
Contributor

Fixes #3163.
I tested the last execution with dotnet6(I did not look at dotnet 8 Verification file), and also aspnetcore must have change something in type, for dotnet 8 is string, and for dotnet 6 it was the enum. The ModelMetadata.ModelType hasn't changed and is the one that is being used for generating the schema

@martincostello martincostello added this to the v7.0.1 milestone Nov 22, 2024
@martincostello martincostello merged commit e727e8d into domaindrivendev:master Nov 22, 2024
@jgarciadelanoceda jgarciadelanoceda deleted the issue_3163_FromFormAndEnums branch November 22, 2024 07:49
This was referenced Jul 31, 2025
This was referenced Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Commit #3133 breaks Enums and Structure

2 participants