Let a declared datatype win over a column read, count a repeat as written, refuse null alone on stdin and a second leading slash, and hand NewTemplate stdin as sent
This commit is contained in:
@@ -228,7 +228,10 @@ func tagValue(sf reflect.StructField, tag string) (any, error) {
|
||||
case inline:
|
||||
return inputValue(tag), nil
|
||||
}
|
||||
path := grammar.CallerPath(tag)
|
||||
path, err := grammar.CallerPath(tag)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := grammar.CheckPathIdentifiers(path); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user