Update Scriban.Signed to support more functions, e.g math.random #432

Closed
opened 2025-12-29 08:28:04 +01:00 by adam · 2 comments
Owner

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.random was 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

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.random` was 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)](https://www.wiremock.org)? Please provide details.** No idea :) **Additional context**
adam added the feature label 2025-12-29 08:28:04 +01:00
adam closed this issue 2025-12-29 08:28:04 +01:00
Author
Owner

@StefH commented on GitHub (Jul 29, 2022):

https://github.com/WireMock-Net/WireMock.Net/pull/777

@StefH commented on GitHub (Jul 29, 2022): https://github.com/WireMock-Net/WireMock.Net/pull/777
Author
Owner

@StefH commented on GitHub (Jul 29, 2022):

@dmytro-pryvedeniuk
A new NuGet + docker will be released soon.

@StefH commented on GitHub (Jul 29, 2022): @dmytro-pryvedeniuk A new NuGet + docker will be released soon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#432