Values with custom tags are set to `null`
See original GitHub issueSo I have an ansible playbook which has tags like this:
some_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
37663434363236326231303035313330356563343734393664373764333962663539623031346531
6335383361386661613563386265326264613738353632310a633162393366636362633835633430
34313038633233646432646335643336643234613133643734303530616137366132313038343035
3039313262386130350a626364633935643562376366306631626530663037376630613565373164
6261
When trying to extract this, to pipe it into a decrypt:
$ yq '.some_key' file.yml
null
It would be more useful to just ignore tags that aren’t recognised and pull the value out as-is, rather than just null
ing the value out entirely. It might be a trivial to expose tags separately if you need them?
$ yq --tags '.some_key' file.yml
[
"vault"
]
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
taglib - JSP custom tags null value - Stack Overflow
I'm facing a problem with my own jsp tag. I want it to allow null-values, but if I want to give null-values to...
Read more >How to pass attribute to a custom tag only if it evaluates to a ...
Hi, I am trying to invoke a html tag and I want the attribute to be passed to the tag only if it...
Read more >CF2021 custom tags do not support null : r/coldfusion - Reddit
During my testing of a solution, I found that I can't set/use null values in a custom tag.
Read more >Tag keeps going null - Ignition - Inductive Automation Forum
I have a tag data type instance where one of the tags periodically goes null. ... However, the fact that they're going to...
Read more >How to check if a tag value is null in IBM Rational Integration ...
This document explains how it is possible to determine if a tag value is null in IBM Rational Integration Tester (RIT).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just had a chance to test, works perfectly 👍 thanks.
Released in v2.5.0.