google / google/closure-templates
Question about soy reportWarnings
- Dominant language
- Java
- Stars
- 700
- Forks
- 199
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 26
Description
Hi,
We use soy templates in our server-side to render a simple `` template that is then used by our client-side lit code to hook up the full web-app.
We've recently upgraded and we now get the following warning:
```
Jan 26, 2022 8:43:30 PM com.google.template.soy.SoyFileSet reportWarnings
WARNING: warnings during Soy compilation
com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy:160: warning: Html id attributes should not be valid JavaScript identifiers, consider hyphenating the id.
160: {\n}
```
Given how our code is structured, I don't think this warning is relevant for us.
- What is the purpose behind this warning?
- Is there a way to turn it off?
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.