Closed eywalker closed 1 month ago
Need to add this to the current pull #6
Okay the down side with this result is that the from_yaml func has to be in this format
from_yaml(hash& str, yaml: &str, annotation: &str) -> Result<Self, String> where Self: Sized
Which is a bit of a ugly signature and it mainly only use by the Filestore, as other storage solution, like a database for example would, it wouldn't use the from_yaml as it will read the directly from the tables and create the structs.