Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Create parser error for empty TagHelper bound attribute values. #289

@NTaylorMullen

Description

@NTaylorMullen

Right now if a user creates a TagHelper and then provides it with an empty attribute value (ex: <myth myattr="" />) we rely on a C# compilation error to notify the user of their mistake. We could create a custom RazorError with more information associated with what went wrong.

Also note that this would only apply to TagHelpers attributes who don't happen to be typed as System.String.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions