Page MenuHomePhabricator

ui: add a "config_default" method
ClosedPublic

Authored by marmoute on Wed, Jan 13, 11:05 PM.

Details

Summary

This allow code to access the expected value for a config. This is useful in the
context of dynamic default value, and short term it will be useful to write
dynamically "correct" code.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.Wed, Jan 13, 11:05 PM
Alphare accepted this revision.Fri, Jan 15, 5:51 AM
Alphare added a subscriber: Alphare.

Interesting that it doesn't exist already!

baymax updated this revision to Diff 24891.Fri, Jan 15, 6:59 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.