Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle/config/node: Granular Default Values
Merged lorenz opened 8 months ago

Provide default values not only per struct, but for each individual struct member. This allows more granular configuration and fallback to defaults.

lorenz opened with revision 869b6e71 on base 0e48723b +124 -17 8 months ago

Provide default values not only per struct, but for each individual struct member. This allows more granular configuration and fallback to defaults.

lorenz pushed revision 2 3325ca84 on base 0e48723b +133 -25 8 months ago

Use the module for defaults

lorenz pushed revision 3 7465e420 on base 0e48723b +222 -127 8 months ago

radicle/config/node: Use newtypes

did:key:z6MkwcUR...q1kL pushed revision 4 c2d230ca on base 0e48723b +222 -127 8 months ago

fixup! radicle/config/node: Use newtypes

Only a small cleanup. The argument to unwrap_or() gets computed even if it is not needed, which can be potentially expensive. It is probably not in this instance, but its still good to have it done correctly.

Feel free to squash away.

lorenz pushed revision 5 b30d820e on base 77f63c76 +222 -127 8 months ago

Rebase, squash in Matthias’ improvements

lorenz merged revision b30d820e at 9a7c2253 8 months ago