feat(core): Expression function $ifEmpty (#7660)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Michael Kret
2023-11-13 13:28:41 +02:00
committed by GitHub
parent 14035e1244
commit 1c7225ebdb
7 changed files with 54 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ export function dollarCompletions(context: CompletionContext): CompletionResult
export function dollarOptions() {
const rank = setRank(['$json', '$input']);
const SKIP = new Set();
const DOLLAR_FUNCTIONS = ['$jmespath'];
const DOLLAR_FUNCTIONS = ['$jmespath', '$ifEmpty'];
if (isCredentialsModalOpen()) {
return useExternalSecretsStore().isEnterpriseExternalSecretsEnabled