Right now the issuer and verifier will load all defined values on start. This allows them to cache the values, but requires a restart when some of the files were updated.
Pro on loading on startup:
caching
possible validation of the input before using it
Pro on on demand loading
allows to make changes more quickly
As an alternative when providing endpoints to update the information, they can be validated before using them. For now it seems easier to just persist them as json documents without the need to spin up a database to manage them.
Right now the issuer and verifier will load all defined values on start. This allows them to cache the values, but requires a restart when some of the files were updated.
Pro on loading on startup:
Pro on on demand loading
As an alternative when providing endpoints to update the information, they can be validated before using them. For now it seems easier to just persist them as json documents without the need to spin up a database to manage them.