Expand description
Filesystem yaml data resolvers.
Structs§
- Data
Path - Represents a position in the data directory when resolving data.
- Data
Resolver - Clients interact with this struct for data resolution operations.
In particular, this forms an important part of the
juniper::Context
generated by the procedural macros. Essentially this holds a PathBuf pointing at the data root directory, and exposes a get method for trying to resolve a generic type at a specified data address under that root directory.
Enums§
- Data
Resolver Error - Data resolution and value manipulation errors
Traits§
- Merge
- Define methods for
- Resolve
Value - This trait, when implemented on a type, attaches methods for retrieving a serde_yaml::Value representation of that type. For primitives, a default impl will do. For structs, you will mostly specify the merge_properties function in a very straightforward way, i.e.