Would be nice to have implicit casts / conversions for ValueContainer, simplifying constructing a ValueContainer like below:
public override ValueTask<ValueContainer> ExecuteFunction(params ValueContainer[] parameters)
{
var relationship = parameters[0]?.ToString();
return new ValueTask<ValueContainer>(new ValueContainer(relationship));
}
with implicit conversions between simple types and ValueContainer one might do this instead
public override ValueTask<ValueContainer> ExecuteFunction(params ValueContainer[] parameters)
{
var relationship = parameters[0]?.ToString();
return new ValueTask<ValueContainer>(relationship);
}
Would be nice to have implicit casts / conversions for ValueContainer, simplifying constructing a ValueContainer like below:
with implicit conversions between simple types and ValueContainer one might do this instead