Open flavio opened 3 years ago
Currently all our helper functions build JSON objects the manual way. That was caused by TinyGo not supporting encoding/json.
encoding/json
This changed with the latest release of TinyGo, hence we should:
By doing that we will also be able to fix https://github.com/kubewarden/policy-sdk-go/issues/7.
AcceptRequest
RejectResponse
AcceptSettings
RejectSettings
Currently all our helper functions build JSON objects the manual way. That was caused by TinyGo not supporting
encoding/json
.This changed with the latest release of TinyGo, hence we should:
encoding/json
By doing that we will also be able to fix https://github.com/kubewarden/policy-sdk-go/issues/7.
Acceptance criteria
AcceptRequest
RejectResponse
AcceptSettings
RejectSettings