digitalbazaar / bedrock-vc-delivery

A Bedrock module for delivering issued VCs
Other
0 stars 0 forks source link

Consider adding "requiredVariables" to exchanger config #4

Open dlongley opened 1 year ago

dlongley commented 1 year ago

If we want to do this, it should be optionally added to each step. Each step should make sure that the required variables are present, throwing a DataError is not. When an exchange is first created, the initial step should be checked. If there are no use cases for this feature other than checking the initial step, then this could perhaps be simplified.