cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Make `SetConfig` return an error #147

Open astrieanna opened 5 years ago

astrieanna commented 5 years ago

When Duffle calls SetConfig, it gets no feedback to relay to the user as to whether the settings were successfully applied. Duffle should be able to fail if the settings were not valid.

This is the relevant line to change the Configurable interface, but it would also need to change in each of the drivers.

radu-matei commented 5 years ago

There seems to be minimal disruption in both Duffle and Porter with this change:

carolynvs commented 4 years ago

We'd be fine with that.