Skip to content

Commit

Permalink
Update grpc func definition
Browse files Browse the repository at this point in the history
  • Loading branch information
liliankasem committed Jun 22, 2023
1 parent fd61026 commit 15f91fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DotNetWorker.Grpc/Definition/GrpcFunctionDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,12 @@ public GrpcFunctionDefinition(FunctionLoadRequest loadRequest, IMethodInfoLocato
var output = new Dictionary<string, object>();
bool isInputConverterAttributeAdvertised = false;

output.Add(PropertyBagKeys.BindingAttribute, bindingAttribute);

// ConverterTypesDictionary will be "object" part of the return value - ImmutableDictionary<string, object>
// The dictionary has key of type IInputConverter and value as List of Types supported by the converter.
var converterTypesDictionary = new Dictionary<Type, List<Type>>();


Type type = bindingAttribute.GetType();
var attributes = type.GetCustomAttributes<InputConverterAttribute>();

Expand Down

0 comments on commit 15f91fc

Please sign in to comment.