-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"#@data.values" [no space after @] should error with a helpful hint #532
Comments
I'm tempted to generalize this issue as, "Whenever there's an unrecognized annotation, "Common Situations" could include:
Where the hint could note the needed space:
Thoughts? |
i like where you going with it. this does make me think about backwards and forwards compatibility. do we get a benefit for being able to use unknown annotations today? (e.g. if some data values passed in i can use newer ytt functionality otherwise fall back? if we check annotations early enough this would become problematic...) there is something to be said about possibility of doing short-term hinting and then potentially filling in more comprehensive changes. |
Ditto. I'm thinking of putting a feature flag on it (as in the user-facing feature flag). It would be more Something like... idonno... |
This idea is an aspect of #114 |
Describe the problem/challenge you have
users may accidentally forget to have a space in
foo: #@data.values
after@
and be confused why the data value is not showing up in the output.(https://twitter.com/stylishandy/status/1455051198935957514?s=20)
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: