Closed rolsonquadras closed 4 years ago
I don't have a clear opinion on that. On one hand, this will be more useful for e.g. variables declaration as @rolsonquadras described. On another hand, we don't expose interfaces for re-use by other packages I think. @troyronda what's your vision regarding this?
If you are referring to provider in services/client, then they are expected to be passed from framework.context() - https://github.com/hyperledger/aries-framework-go/blob/397839f21ed4dd9e54e908a4a737702b42070d0b/cmd/aries-agent-rest/startcmd/start.go#L589-L595.
The Signing and Verifier signature suite interfaces are not exported and they are part of APIs exported to the consumers.
These need to exported as it'll help consumers to create variables and work with switch/if-else without redefining the interfaces.