userver: dynamic_config::NoSchemaHash Struct Reference
Loading...
Searching...
No Matches
dynamic_config::NoSchemaHash Struct Referencefinal

#include <userver/dynamic_config/snapshot.hpp>

Detailed Description

Explicitly opts out of schema hash metadata for a config item. Use only when the selected config source discovers configs by name and supports missing schema hashes, or for local tests. The standard components::DynamicConfigClientUpdater supports this path.

Warning
An updater that skips registrations with an empty dynamic_config::RegisteredConfigMeta::schema_hash will not subscribe to this item. Prefer a generated dynamic_config::Key or pass the same config's generated GetSchemaHash() result to a handwritten key.
See also
dynamic_config_schema_hash for checking a source's contract.

Definition at line 53 of file snapshot.hpp.


The documentation for this struct was generated from the following file: