Replies: 2 comments 1 reply
-
So, for posterity, the reason for names like this If we have global uniqueness over relevant fields, we can merge configs (as we currently do). Merging configs helps maintain a single source of truth and ease composability. Can you present examples or type-level representations of your proposed alternatives? |
Beta Was this translation helpful? Give feedback.
-
The configuration sources should conform to a hierarchy, copying the pseudo-Javascript from #385 (comment):
For the config structures discussed here, we can formulate the following requirements:
Overriding config values with CLI arguments is done in the respective CLI crates above the config level. I don't think there should be a generic system for this besides perhaps reusing |
Beta Was this translation helpful? Give feedback.
-
Tracking issue: #480
The names used in configuration files (in Rust code understood as a hierarchical serde schema) should be reviewed to be consistent and concise.
indexer.grpc.hostname
is more usable thanmaptos_indexer_grpc_connection_hostname
.Beta Was this translation helpful? Give feedback.
All reactions