mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Conditionals for templating #361
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devmariodiaz on GitHub (Oct 6, 2021).
Mr Stef,
I hope that everything is doing well.
I have a question: Is there any way to use conditional in templating response?
@StefH commented on GitHub (Oct 6, 2021):
Hello Mario.
WireMock.Net uses Handlebars.Net which follows the same logic as handlebars.js
See this page on how to use
if: https://handlebarsjs.com/guide/builtin-helpers.html#if@devmariodiaz commented on GitHub (Oct 6, 2021):
Hello Mr. Stef, That's great, big thanks for your valuable help.