Skip to content
\n

Notice the empty values in front of has_bicycle and has_dog?

\n

My question is thus: is there a way to write a “fallback” expression something like {{ request.body/has_bicycle | randomBoolean() }}?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Hi @paulRbr

\n

Thanks for raising the discussion - that's a fair point and we don't have any fallback for null/blank values as of today. That would be an interesting enhancement! Would you mind creating an issue in https://github.com/microcks/microcks/issues to track this one?

","upvoteCount":1,"url":"https://github.com/orgs/microcks/discussions/1424#discussioncomment-11430672"}}}

fallback template for null/blank values #1424

Answered by lbroudoux
paulRbr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @paulRbr

Thanks for raising the discussion - that's a fair point and we don't have any fallback for null/blank values as of today. That would be an interesting enhancement! Would you mind creating an issue in https://github.com/microcks/microcks/issues to track this one?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lbroudoux
Comment options

@paulRbr
Comment options

Answer selected by paulRbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment