Verifying file with multiple documents of different types
See original GitHub issueIssue Description
Thanks for Yamale!
Have used for a few projects already, but now have a problem. I have a file with several yaml documents, of differing types.
kind: foo
# ... more content corresponding to type foo
---
kind: bar
# ... more content corresponding to type bar
---
...
[Although they aren’t, one could picture them as kubernetes manifests, for instance.]
Depending on the kind
parameter, I want to validate each document against one of several schemas. How can I best accomplish this with Yamale?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Combining Multiple Documents into a Single PDF File
Multiple files (optionally even different types of files) can be combined into a single Adobe PDF file by using Create PDF From Multiple...
Read more >Check out, check in, or discard changes to files in a ...
To check in multiple files at once Follow these steps. In the document library, select all the files you want to check in...
Read more >How to check and verify file integrity - TechTarget
Steps to check and verify file integrity · Based on a comparison of file names, do all the expected files show up? ·...
Read more >Validating digital signatures, Adobe Acrobat
To automatically validate all signatures in a PDF when you open the document, select Verify Signatures When The Document Is Opened.
Read more >How to Search Text in Multiple Files in Linux - SeekFast Blog
Grep can search in all kinds of text files (.txt, .html, .xml, etc.) ... Check the "Containing" checkbox, enter your search words and...
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 Free
Top 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
In your multi-doc string, you need to use three dashes to separate documents.
The other is a bug which is covered here: https://github.com/23andMe/Yamale/issues/137
That is interesting. I think we still need to be clearer in our error reporting when a user wouldn’t use
final
. Can you please open a separate issue for thefinal
parameter, and we’ll mark it as an enhancement request to continue the discussion there. Thanks!