Skip to content

Why is ComplexObjectModelBinder sealed? #60284

Open
@miloush

Description

@miloush

The ComplexObjectModelBinder is the only binder under src/Mvc/Mvc.Core/src/ModelBinding/Binders that is sealed and I would like to understand the reasons.

People seem to keep running into this (#48673 #47039 #46775 #33545 and several on SO), with the last one suggesting to copy the code even though it was pointed out it it relies on other internal types.

The question was asked in #46775 but a workaround was sought instead, hence the question - why was this binder made sealed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions