Consider introducing an ArtiPathComponent trait
The KeySpecifierDefault
d-a macro currently implements KeySpecifier::arti_path
by concatenating the Display
repr of the fields of the struct it is applied to. However, not all strings are valid ArtiPathComponent
s, so it is possible to generate invalid KeySpecifier
impls this way. A better approach would be to require each field to implement a trait that has a function that returns the ArtiPathComponent
representation of the field.