From 87dbbcfc2174c858768b3dc5be10f5f062465d39 Mon Sep 17 00:00:00 2001 From: "oliver.hermann" Date: Fri, 19 Jun 2020 16:38:05 +0200 Subject: [PATCH] Use function mapper for mapping output parameters, if set --- src/NwRfcNet/RfcFunction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NwRfcNet/RfcFunction.cs b/src/NwRfcNet/RfcFunction.cs index 65adb57..9272e93 100644 --- a/src/NwRfcNet/RfcFunction.cs +++ b/src/NwRfcNet/RfcFunction.cs @@ -104,7 +104,7 @@ public void Invoke(T input) } public TResult GetOutputParameters() => - (TResult)new RfcParameterOutput(_rfcConnection.Mapper) + (TResult)new RfcParameterOutput(Mapper ?? _rfcConnection.Mapper) .GetReturnParameters(FunctionHandle, typeof(TResult)); ///