Skip to content

Make FormMappingValidator public #53374

Open
@akorchev

Description

@akorchev

Background and Motivation

I am one of the developers of the Radzen.Blazor component library and want to add SSR support for one of the components - RadzenTemplateForm (similar to EditForm). Currently I can't do that because FormMappingValidator is internal.

Proposed API

+public class FormMappingValidator
-internal class FormMappingValidator

Usage Examples

builder.OpenComponent<FormMappingValidator>(1);
builder.AddComponentParameter(2, nameof(FormMappingValidator.CurrentEditContext), EditContext);
builder.CloseComponent();

Alternative Designs

I can't think of any as making our own FormMappingValidator would need access to other internal API.

Risks

Can't think of any risks apart from making the public API surface a bit larger.

Metadata

Metadata

Assignees

Labels

api-suggestionEarly API idea and discussion, it is NOT ready for implementationarea-blazorIncludes: Blazor, Razor Componentscomponent ecosystemIndicates an issue which also has impact on 3rd party component ecosystemenhancementThis issue represents an ask for new feature or an enhancement to an existing onequestion

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions