Hi, I am trying to create a custom-template-helper...
# wiremock-java
h
Hi, I am trying to create a custom-template-helper as shown below: But the handlebars template is not getting evaluated. could you please help me with this to check what is the issue here? thank you
h
thank you very much. i am getting the expected response now 🤝
🙏 1
hi @Rafe Arnold could you please help me with another query? The
context
is always
null
here when this helper is invoked. could you please advise here if i am missing something… thank you 🙏
r
how are you invoking the helper?
h
I am trying to follow the example mentioned on the docs page as below:
alternatively if you direct me to a github project with sample for templateHelper will be very helpful too.. i could not find one
apologies, i found the issue. i was trying to pass custom string without the quotes
'foobar'
and was being returned as
null
thank you very much for your support 🙏
r
glad you figured it out
🙏 1