-
Notifications
You must be signed in to change notification settings - Fork 225
String token directives should require quoted values. #980
Comments
We should absolutely not do this. The taghelper directives are special and it is a non goal that they reuse the extensible directives feature. |
Would we expect to support |
We should only support I'll repeat, you can do things with the taghelper directives like:
In both of these cases, everything after This only works because we know what the syntax of This kind of thing is a trap and should be avoided. We shipped this in 1.0.0 and it has to stay working, but it shouldn't infect the extensible directives feature. |
Cool I'm all for normalizing it (one way or the other). |
No. It has to be with quotes. |
^ See title. |
Quotes are optional for some string-like tokens in directives (for instance in
@addTagHelper
). However the optionality is enforced at code gen rather than at parse time. We could instead remove quotes from string tokens at parse time.The text was updated successfully, but these errors were encountered: