This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
code formatters sometimes break up sample metadata into multiple lines #2981
Labels
Core: Sample-gen
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
When we have a very long sample metadata:
Formatters will think the last line is a comment because, well, it is a comment, and break it up:
And therefore the YAML structure is broken.
While we can manually check line length and break the line up in the generator in a valid YAML syntax, it is quite lousy and probably hard to satisfy different languages.
The best way to solve this problem should be moving the metadata to the sample manifest file, because it is a real YAML :)
The text was updated successfully, but these errors were encountered: