aries-framework-go
aries-framework-go copied to clipboard
Proposal: expose issuecredential eventProps publicly
I believe there's value in exposing the eventProps publicly from issuecredential, especially when using the client interface. Consider that custom action handlers have no lib provided type-safe casts at the moment and have to get values out of the map for now. I'm discounting someone declaring the interface outside and relying on Go interface matching (cause this can get out of sync eventually).
The work itself would be very similar to https://github.com/hyperledger/aries-framework-go/blob/e05b76b09fcb32c95ff754a697ef361f9247d47f/pkg/didcomm/protocol/didexchange/event.go#L10
@sudeshrshetty, happy to throw a PR, but what are your thoughts first? Or am I missing something very obvious?