gun
gun copied to clipboard
chaining get
The current implementation of get does not support chained get calls such as gun.get("key").get("prop").put("val")
.
The GunGet struct should have its own get function that returns a new Self. Not sure how we'd implement chaining but I'm guessing the key field of GunGet would need to be changed to a vector of strings rather than a str. Then on, once and put would somehow need to be changed to support chaining. Not sure what the get and put requests would look like in a chained context.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Also gun.back()
should be implemented.