apache / openwhisk-runtime-dotnet

Apache OpenWhisk Runtime .Net supports Apache OpenWhisk functions written in .Net languages
https://openwhisk.apache.org/
Apache License 2.0
34 stars 28 forks source link

change 3.1 runtime to no longer require user functions to use Newtonsoft.Json library #52

Closed mattwelke closed 1 year ago

mattwelke commented 3 years ago

This PR is for demonstration purposes only related to https://github.com/apache/openwhisk-runtime-dotnet/issues/51. We can't make this kind of change to an existing runtime without breaking existing actions for the runtime. But it's easier to show the change this way by diffing it with an existing runtime (3.1 used here), since not much actually changes. This changed version of the runtime only supports non-awaitable Main methods in the action. Supporting await wasn't needed to demonstrate the change.