Crate confql_data_resolver[][src]

Expand description

Filesystem yaml data resolvers.

Structs

Represents a position in the data directory when resolving data.

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 resolution and value manipulation errors

Traits

Define methods for

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.