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

Multiple [TargetElement] attributes on a single TagHelper should de-dup if multiple match. #326

Closed
NTaylorMullen opened this issue Mar 20, 2015 · 1 comment

Comments

@NTaylorMullen
Copy link
Member

If I have:

[TargetElement(Attributes = "a")]
[TargetElement(Attributes = "b")]
public class FooTagHelper : TagHelper {}

And I write <foo a="" b="" /> the FooTagHelper class should not be run twice.

@NTaylorMullen NTaylorMullen self-assigned this Mar 20, 2015
@NTaylorMullen NTaylorMullen added this to the 4.0.0-beta4 milestone Mar 20, 2015
NTaylorMullen added a commit that referenced this issue Mar 20, 2015
- This can occur if you have multiple [TargetElement] attributes that overlap. Ultimately the descriptor is the same because its the same type, just the required attributes differ.
- Added a test to validate.

#326
NTaylorMullen added a commit that referenced this issue Mar 20, 2015
- This can occur if you have multiple [TargetElement] attributes that overlap. Ultimately the descriptor is the same because its the same type, just the required attributes differ.
- Added tests to validate.

#326
NTaylorMullen added a commit that referenced this issue Mar 20, 2015
- This can occur if you have multiple [TargetElement] attributes that overlap. Ultimately the descriptor is the same because its the same type, just the required attributes differ.
- Added tests to validate.

#326
@NTaylorMullen
Copy link
Member Author

842549b
2b62202

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant