mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-13 05:50:36 +01:00
Update Scriban.Signed to support more functions, e.g math.random #432
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 @dmytro-pryvedeniuk on GitHub (Jul 29, 2022).
Originally assigned to: @StefH on GitHub.
Is your feature request related to a problem? Please describe.
I need to generate a random value in the response. The Scriban function {{math.random 1 1000}} results in the error "The function
math.randomwas not found". WireMock.Net 1.5.2 uses Scriban.Signed 3.3.2, but referencing Scriban.Signed 5.5.0 helps to resolve it.Describe the solution you'd like
I would like WireMock.Net (and the corresponding docker image) to use the latest version of Scriban.Signed, so an extra reference of Scriban.Signed is not needed.
Describe alternatives you've considered
Reference Scriban.Signed separately, build own docker image.
Is your feature request supported by WireMock (java version)? Please provide details.
No idea :)
Additional context
@StefH commented on GitHub (Jul 29, 2022):
https://github.com/WireMock-Net/WireMock.Net/pull/777
@StefH commented on GitHub (Jul 29, 2022):
@dmytro-pryvedeniuk
A new NuGet + docker will be released soon.