quick definition of an optional parameter variable in an implicit jinja calculation #22

Closed
opened 2024-07-05 14:47:52 +02:00 by gremond · 0 comments
Member

This calculated jinja variable definition works fine :

        version: 1.1
        var1:
          default:
            type: jinja
            jinja: |
              val
            params:
              var1:
                type: variable
                variable: _.var2
                optional: true

We would like to write an equivalent definition which looks like this:

        version: 1.1
        var1:
          default:
            type: variable
            variable: _.var2
            optional: true
This calculated jinja variable definition works fine : ```--- version: 1.1 var1: default: type: jinja jinja: | val params: var1: type: variable variable: _.var2 optional: true ``` We would like to write an equivalent definition which looks like this: ``` --- version: 1.1 var1: default: type: variable variable: _.var2 optional: true ```
gremond changed title from quick definition of an optional default value in a jinja calculated variable to quick definition of an optional parameter variable in a jinja calculated way 2024-07-05 14:48:52 +02:00
gremond changed title from quick definition of an optional parameter variable in a jinja calculated way to quick definition of an optional parameter variable in an implicit jinja calculation 2024-07-05 14:49:17 +02:00
gremond added reference optional_parameter_in_variable 2024-07-06 15:12:54 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stove/rougail#22
No description provided.