Skip to content

Conversation

@samlatham
Copy link
Contributor

@samlatham samlatham commented Jan 5, 2026

Bug: The HandlebarsSettings.AllowedHandlebarsHelpers configuration is ignored when trying to enable the Environment helper as documented here https://github.com/wiremock/WireMock.Net?tab=readme-ov-file#handlebarsnet-environment-helper

Repro steps can be found in the associated bug 1415

Fix: This PR is a one line change which passes the AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers so that optional handlebars helpers can be enabled.

References

#1415
#1410

Submitter checklist

  • [will do] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
  • The PR request is well described and justified, including the body and the references
  • The PR title represents the desired changelog entry
  • The repository's code style is followed (see the contributing guide)
  • Test coverage that demonstrates that the change works as expected
  • [bugfix] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

…lpers

Pass AllowedHandlebarsHelpers configuration to Handlebars.Net.Helpers so that optional handlebars helpers can be enabled.
@StefH StefH merged commit 0e60e3f into wiremock:master Jan 5, 2026
4 checks passed
This was referenced Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants