You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom console application using WireMock.Net and WireMock.Net.StandAlone on Windows with .net core 8.0,
Update the wiremock assemblies from 1.5.58 to 1.6.11 (also update the dependencies) .
Now when a call a service from postman with a mapping config file with
{
"Status": "Method 'get_Category' in type 'WireMock.Transformers.Handlebars.FileHelpers' from assembly 'WireMock.Net, Version=1.6.11.0, Culture=neutral, PublicKeyToken=c8d65537854e1f03' does not have an implementation."
}
Expected behavior:
The response file with the transformed values (I use {{Random Type='Guid'}}) in the template file
Test to reproduce
1 Use a file as template with UseTransformerForBodyAsFile and UseTransformer set to true
Other related info
This worked with version 1.5.58, i didnt change the mapping file or the file template. Only update the wiremock assemblies.
The text was updated successfully, but these errors were encountered:
Ok , I did some digging. It looks like is not a problem with WireMock.Net or WireMock.Net.StandAlone.
Because I did a rollback to 1.5.58 version an still get the same error.
It works again only until I rollback the Handlebars.Net.Helpers.* libraries from 2.4.8 to 2.4.3
Describe the bug
I have a custom console application using WireMock.Net and WireMock.Net.StandAlone on Windows with .net core 8.0,
Update the wiremock assemblies from 1.5.58 to 1.6.11 (also update the dependencies) .
Now when a call a service from postman with a mapping config file with
"UseTransformerForBodyAsFile": true,
"UseTransformer": true,
The answer that I got is
{
"Status": "Method 'get_Category' in type 'WireMock.Transformers.Handlebars.FileHelpers' from assembly 'WireMock.Net, Version=1.6.11.0, Culture=neutral, PublicKeyToken=c8d65537854e1f03' does not have an implementation."
}
Expected behavior:
The response file with the transformed values (I use {{Random Type='Guid'}}) in the template file
Test to reproduce
Other related info
This worked with version 1.5.58, i didnt change the mapping file or the file template. Only update the wiremock assemblies.
The text was updated successfully, but these errors were encountered: