This repository has been archived by the owner on Oct 23, 2022. It is now read-only.
http: Multiple arg
of Cids/IpfsPath
#352
Labels
arg
of Cids/IpfsPath
#352
There are a few Options structs, which are basically the deserialized form the of the paths query string:
These needed to be added because the plain serde_urlencoded at least did not support at the time deserializing for example this:
This might be a limitation of serde "object model" or I just failed to use the library. Writing the TryFrom conversions seemed fast and flexible enough. If this
arg: Vec<FromStr>
member cannot be supported with serde_urlencoded we should probably just skip the particular field, and manually parse only thearg
value. The best outcome of this would be a single custom filter for deserializing these "special" kinds of "options". Right now it would seem that each of these "special options" needs a custom filter creating method as well.See for previous attempts: https://github.com/rs-ipfs/rust-ipfs/pull/349/files#r480903618
The text was updated successfully, but these errors were encountered: