mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 10:18:26 +02:00
Upgrade Scriban.Signed (#1434)
This commit is contained in:
@@ -8,9 +8,9 @@ namespace WireMock.Transformers.Scriban;
|
||||
|
||||
internal class WireMockTemplateContext : TemplateContext
|
||||
{
|
||||
protected override IObjectAccessor GetMemberAccessorImpl(object target)
|
||||
protected override IObjectAccessor? GetMemberAccessorImpl(object target)
|
||||
{
|
||||
return target?.GetType().GetGenericTypeDefinition() == typeof(WireMockList<>) ?
|
||||
return target.GetType().GetGenericTypeDefinition() == typeof(WireMockList<>) ?
|
||||
new WireMockListAccessor() :
|
||||
base.GetMemberAccessorImpl(target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user