carvel-dev / carvel-dev/ytt

[lang] support ?: key value notation

Open
#57 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

#! Trying to use the multiline yaml ? : notation for map entries doesn't give the expected results:

#! This works
? ac
: bd

#! But this does not (it gives ee:null not ee:fg)
? ee
: #@ 'f' + 'g'

#! Nor this (it gives null:ax not ax:bd)
? #@ 'a' + 'x'
: #@ 'b' + 'd'

#! This one gives an error if you uncomment it.
#! ? #@ 'y' + 'z'
#! : asdf

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.