Node options are not fully composable #2642
Labels
area/config
Related to configuration
code quality
Related to improving code quality
feature
New feature or request
Node options cannot safely be appended, as the inner slices overwrite each other instead of appending.
For example, db options are a slice:
And
WithDatabaseOpts
overwrites this slice:This means that one cannot do:
As the result would be a db with no update events.
This limits consuming code and risks bugs, both for us (e.g. during test setup), and for any users wishing to use embedded defra.
The text was updated successfully, but these errors were encountered: