https://github.com/xmidt-org/webpa-common/blob/main/webhook/webhook.go#L25
Currently, if a specific ContentType is specified in the WRP webhook registration, the full WRP encoded as Msgpack is sent instead of just the WRP's payload field. This functionality is not straightfoward to webhook clients, so we are proposing an additional field that would specify whether Caduceus sends the full WRP. The ContentType would no longer be involved in this logic.
Some name options for this new field:
SendFullWRP
IncludeFullWRP
IncludeWRP
https://github.com/xmidt-org/webpa-common/blob/main/webhook/webhook.go#L25
Currently, if a specific ContentType is specified in the WRP webhook registration, the full WRP encoded as Msgpack is sent instead of just the WRP's payload field. This functionality is not straightfoward to webhook clients, so we are proposing an additional field that would specify whether Caduceus sends the full WRP. The ContentType would no longer be involved in this logic.
Some name options for this new field:
SendFullWRPIncludeFullWRPIncludeWRP